X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Finclude%2Fctdl_module.h;fp=citadel%2Finclude%2Fctdl_module.h;h=dc78de3adc9a5cfa60d3aa57fe852081af98cb05;hb=f7c68f847e2a6e5492c0bd5264f1b0729fe62ac8;hp=9472eb4fbcd79f299f8d65743d834599b33a5e39;hpb=220efd57cbdbf4fa2036380362dd1880c125c723;p=citadel.git diff --git a/citadel/include/ctdl_module.h b/citadel/include/ctdl_module.h index 9472eb4fb..dc78de3ad 100644 --- a/citadel/include/ctdl_module.h +++ b/citadel/include/ctdl_module.h @@ -386,19 +386,12 @@ int CtdlGetUserLen(struct ctdluser *usbuf, const char *name, long len); int CtdlGetUserLock(struct ctdluser *usbuf, char *name); void CtdlPutUser(struct ctdluser *usbuf); void CtdlPutUserLock(struct ctdluser *usbuf); - int CtdlLockGetCurrentUser(void); void CtdlPutCurrentUserLock(void); - int CtdlGetUserByNumber(struct ctdluser *usbuf, long number); -void CtdlGetRelationship(visit *vbuf, - struct ctdluser *rel_user, - struct ctdlroom *rel_room); -void CtdlSetRelationship(visit *newvisit, - struct ctdluser *rel_user, - struct ctdlroom *rel_room); +void CtdlGetRelationship(visit *vbuf, struct ctdluser *rel_user, struct ctdlroom *rel_room); +void CtdlSetRelationship(visit *newvisit, struct ctdluser *rel_user, struct ctdlroom *rel_room); void CtdlMailboxName(char *buf, size_t n, const struct ctdluser *who, const char *prefix); - int CtdlLoginExistingUser(char *authname, const char *username); /* @@ -425,20 +418,20 @@ enum { void CtdlUserLogout(void); - - - /* * Expose API calls from msgbase.c */ - /* * Expose API calls from euidindex.c */ long CtdlLocateMessageByEuid(char *euid, struct ctdlroom *qrbuf); +/* + * This is from modules/openid/serv_openid_rp.c in order to turn it into a generic external authentication driver + */ +int attach_extauth(struct ctdluser *who, StrBuf *claimed_id); #endif /* CTDL_MODULE_H */