common-fun.h 905 Bytes
Newer Older
1 2 3 4
/*
 * FIXME: header
 */

5
#include <pptp/pptp.h>
6 7 8 9 10 11 12 13 14

/* Contains all functions common to more than one state */

void st_com_execute_slave(struct pp_instance *ppi);

void st_com_restart_annrec_timer(struct pp_instance *ppi);

int st_com_check_record_update(struct pp_instance *ppi);

15

16 17
int st_com_slave_handle_announce(struct pp_instance *ppi, unsigned char *buf,
				 int len);
18

19 20
int st_com_master_handle_announce(struct pp_instance *ppi, unsigned char *buf,
				  int len);
21

22 23
int st_com_slave_handle_sync(struct pp_instance *ppi, unsigned char *buf,
			     int len, TimeInternal *time);
24

25 26
int st_com_master_handle_sync(struct pp_instance *ppi, unsigned char *buf,
			      int len, TimeInternal *time);
27

28 29
int st_com_slave_handle_followup(struct pp_instance *ppi, unsigned char *buf,
				 int len);
30

31 32
int st_com_handle_pdelay_req(struct pp_instance *ppi, unsigned char *buf,
			     int len, TimeInternal *time);