Update and clean Tomato RAF files
[tomato.git] / release / src / router / pptpd / pptpmanager.h
blobcd88cba46f81e4f98f77d7b5de2f0f09e1fffbe5
1 /*
2 * pptpmanager.h
4 * Manager function prototype.
6 * $Id: pptpmanager.h,v 1.2 2005/12/29 09:59:49 quozl Exp $
7 */
9 #ifndef _PPTPD_PPTPSERVER_H
10 #define _PPTPD_PPTPSERVER_H
12 void slot_init(int count);
13 void slot_free();
14 void slot_set_local(int i, char *ip);
15 void slot_set_remote(int i, char *ip);
16 void slot_set_pid(int i, pid_t pid);
17 int slot_find_by_pid(pid_t pid);
18 int slot_find_empty();
19 char *slot_get_local(int i);
20 char *slot_get_remote(int i);
22 extern int pptp_manager(int argc, char **argv);
24 #endif /* !_PPTPD_PPTPSERVER_H */