summaryrefslogtreecommitdiff
path: root/pptpd-1.3.3/pptpmanager.h
blob: cd88cba46f81e4f98f77d7b5de2f0f09e1fffbe5 (plain)
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 */