X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Finclude%2Fctdl_module.h;h=1f5c8fcfb4c1bf25eea6d9d2a8418f760552be2d;hb=e329db30593524cc2d8851a4500bac41f2340354;hp=c08333e4b874c1761360de005217a6689fd75443;hpb=5f2b9b3de88c662fa886ee3fc96a68fd5e52545f;p=citadel.git diff --git a/citadel/include/ctdl_module.h b/citadel/include/ctdl_module.h index c08333e4b..1f5c8fcfb 100644 --- a/citadel/include/ctdl_module.h +++ b/citadel/include/ctdl_module.h @@ -357,27 +357,10 @@ 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 +375,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()