8de95401ad34ce093c3ade799f428e019dbfd292 chinhli Wed May 9 10:32:01 2012 -0700 Retire hgLoginLink.c and .h, use wikiLink.c and .h instead. diff --git src/hg/inc/hgLoginLink.h src/hg/inc/hgLoginLink.h deleted file mode 100644 index 71b3cce..0000000 --- src/hg/inc/hgLoginLink.h +++ /dev/null @@ -1,32 +0,0 @@ -/* hgLoginLink - interoperate with a hgLogin site (share user identities). */ - -#ifndef HGLOGINLINK_H -#define HGLOGINLINK_H - -/* hg.conf hgLogin parameters -- hgLoginLink is disabled if any are undefined. */ -#define CFG_HGLOGIN_HOST "hgLogin.host" -#define CFG_HGLOGIN_SYSNAME "hgLogin.sysName" -#define CFG_HGLOGIN_USER_NAME_COOKIE "hgLogin.userNameCookie" -#define CFG_HGLOGIN_LOGGED_IN_COOKIE "hgLogin.loggedInCookie" -#define CFG_HGLOGIN_SESSION_COOKIE "hgLogin.sessionCookie" - -char *hgLoginLinkHost(); -/* Return the hgLogin host specified in hg.conf, or NULL. Allocd here. */ - -char *hgLoginLinkSysName(); -/* Return the hgLogin system name specified in hg.conf, or NULL. Allocd here. */ - -boolean hgLoginLinkEnabled(); -/* Return TRUE if all hgLogin.* parameters are defined in hg.conf . */ - -char *hgLoginLinkUserName(); -/* Return the user name specified in cookies from the browser, or NULL if - * the user doesn't appear to be logged in. */ - -char *hgLoginLinkUserLoginUrl(int hgsid); -/* Return the URL for the hgLogin user hgLogin page. */ - -char *hgLoginLinkUserLogoutUrl(int hgsid); -/* Return the URL for the hgLogin user logout page. */ - -#endif /* HGLOGINLINK_H */