war on lhfs
[citadel.git] / citadel / include / ctdl_module.h
index dc78de3adc9a5cfa60d3aa57fe852081af98cb05..6d16624b584d93dcd9d45e6f8d2ce6f32a8b76cc 100644 (file)
@@ -110,9 +110,6 @@ void CtdlRegisterMessageHook(int (*handler)(struct CtdlMessage *, recptypes*),
 void CtdlUnregisterMessageHook(int (*handler)(struct CtdlMessage *, recptypes *),
                               int EventType);
 
-void CtdlRegisterNetprocHook(int (*handler)(struct CtdlMessage *, char *) );
-void CtdlUnregisterNetprocHook(int (*handler)(struct CtdlMessage *, char *) );
-
 void CtdlRegisterRoomHook(int (*fcn_ptr)(struct ctdlroom *) );
 void CtdlUnregisterRoomHook(int (*fnc_ptr)(struct ctdlroom *) );
 
@@ -199,7 +196,7 @@ void CtdlBumpNewMailCounter(long which_user);
 /*
  * CtdlGetCurrentMessageNumber()  -  Obtain the current highest message number in the system
  * This provides a quick way to initialise a variable that might be used to indicate
- * messages that should not be processed. EG. a new Sieve script will use this
+ * messages that should not be processed.  For example, a new inbox script will use this
  * to record determine that messages older than this should not be processed.
  * This function is defined in control.c
  */
@@ -357,26 +354,9 @@ typedef struct __NetMap {
 
 HashList* CtdlReadNetworkMap(void);
 StrBuf *CtdlSerializeNetworkMap(HashList *Map);
-void NetworkLearnTopology(char *node, char *path, HashList *the_netmap, int *netmap_changed);
-int CtdlIsValidNode(const StrBuf **nexthop,
-                   const StrBuf **secret,
-                   StrBuf *node,
-                   HashList *IgnetCfg,
-                   HashList *the_netmap);
-
 
 
 
-int CtdlNetworkTalkingTo(const char *nodename, long len, int operation);
-
-/*
- * Operations that can be performed by network_talking_to()
- */
-enum {
-        NTT_ADD,
-        NTT_REMOVE,
-        NTT_CHECK
-};
 
 /*
  * Expose API calls from user_ops.c
@@ -392,7 +372,7 @@ 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 CtdlMailboxName(char *buf, size_t n, const struct ctdluser *who, const char *prefix);
-int CtdlLoginExistingUser(char *authname, const char *username);
+int CtdlLoginExistingUser(const char *username);
 
 /*
  * Values which may be returned by CtdlLoginExistingUser()
@@ -430,7 +410,7 @@ 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
+ * Expose API calls 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);