File: pptpmanager.h

package info (click to toggle)
pptpd 1.3.4-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,168 kB
  • ctags: 909
  • sloc: ansic: 5,422; sh: 733; perl: 157; makefile: 132
file content (24 lines) | stat: -rwxr-xr-x 537 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * pptpmanager.h
 *
 * Manager function prototype.
 *
 * $Id: pptpmanager.h,v 1.2 2005/12/29 09:59:49 quozl Exp $
 */

#ifndef _PPTPD_PPTPSERVER_H
#define _PPTPD_PPTPSERVER_H

void slot_init(int count);
void slot_free();
void slot_set_local(int i, char *ip);
void slot_set_remote(int i, char *ip);
void slot_set_pid(int i, pid_t pid);
int slot_find_by_pid(pid_t pid);
int slot_find_empty();
char *slot_get_local(int i);
char *slot_get_remote(int i);

extern int pptp_manager(int argc, char **argv);

#endif	/* !_PPTPD_PPTPSERVER_H */