pptpmanager.h 537 B

123456789101112131415161718192021222324
  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. #ifndef _PPTPD_PPTPSERVER_H
  9. #define _PPTPD_PPTPSERVER_H
  10. void slot_init(int count);
  11. void slot_free();
  12. void slot_set_local(int i, char *ip);
  13. void slot_set_remote(int i, char *ip);
  14. void slot_set_pid(int i, pid_t pid);
  15. int slot_find_by_pid(pid_t pid);
  16. int slot_find_empty();
  17. char *slot_get_local(int i);
  18. char *slot_get_remote(int i);
  19. extern int pptp_manager(int argc, char **argv);
  20. #endif /* !_PPTPD_PPTPSERVER_H */