summaryrefslogtreecommitdiffstats
path: root/package/ead/src/tinysrp/tinysrp.h
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-10 12:32:29 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-10-10 12:32:29 +0000
commit9c8997d54dc9df184bfcedeabf0b3c85cf5e6753 (patch)
tree46b83031a0da1b4458317413c00d13c252c72afa /package/ead/src/tinysrp/tinysrp.h
parenteecf5b17520f6b3b6ffb45ac7dca298d93b27501 (diff)
packages: sort network related packages into package/network/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33688 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/ead/src/tinysrp/tinysrp.h')
-rw-r--r--package/ead/src/tinysrp/tinysrp.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/package/ead/src/tinysrp/tinysrp.h b/package/ead/src/tinysrp/tinysrp.h
deleted file mode 100644
index 4420a196a..000000000
--- a/package/ead/src/tinysrp/tinysrp.h
+++ /dev/null
@@ -1,18 +0,0 @@
-/* Simple API for the tinysrp library. */
-
-#ifndef T_PWD_H
-#define MAXUSERLEN 32
-#define SESSION_KEY_LEN 40 /* 320-bit session key */
-#endif
-
-typedef struct {
- char username[MAXUSERLEN + 1];
- unsigned char key[SESSION_KEY_LEN];
-} TSRP_SESSION;
-
-/* These functions are passed a connected socket, and return true for a
-successful authentication. If tsrp is not NULL, the username and key
-fields are filled in. */
-
-extern int tsrp_server_authenticate(int s, TSRP_SESSION *tsrp);
-extern int tsrp_client_authenticate(int s, char *user, char *pass, TSRP_SESSION *tsrp);