1/* 2 * pptpmanager.h 3 * 4 * Manager function prototype. 5 * 6 * $Id: pptpmanager.h,v 1.2 2005/12/29 09:59:49 quozl Exp $ 7 */ 8 9#ifndef _PPTPD_PPTPSERVER_H 10#define _PPTPD_PPTPSERVER_H 11 12void slot_init(int count); 13void slot_free(); 14void slot_set_local(int i, char *ip); 15void slot_set_remote(int i, char *ip); 16void slot_set_pid(int i, pid_t pid); 17int slot_find_by_pid(pid_t pid); 18int slot_find_empty(); 19char *slot_get_local(int i); 20char *slot_get_remote(int i); 21 22extern int pptp_manager(int argc, char **argv); 23 24#endif /* !_PPTPD_PPTPSERVER_H */ 25