diff options
| author | Kozlov Dmitry <dima@server> | 2010-10-06 16:43:14 +0400 |
|---|---|---|
| committer | Kozlov Dmitry <dima@server> | 2010-10-06 16:43:14 +0400 |
| commit | b6a1268714671904e96a49b88680dc3ff07aaa1c (patch) | |
| tree | 60424372b94312710b9f583b1bcc641de4020316 /pppd_plugin/src/vector.h | |
| parent | 5cf93f33f2350ed3b92f73ead1d2829a6883810a (diff) | |
| download | accel-ppp-b6a1268714671904e96a49b88680dc3ff07aaa1c.tar.gz accel-ppp-b6a1268714671904e96a49b88680dc3ff07aaa1c.zip | |
project cleanup and prepare to release
Diffstat (limited to 'pppd_plugin/src/vector.h')
| -rw-r--r-- | pppd_plugin/src/vector.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/pppd_plugin/src/vector.h b/pppd_plugin/src/vector.h deleted file mode 100644 index b18899f..0000000 --- a/pppd_plugin/src/vector.h +++ /dev/null @@ -1,31 +0,0 @@ -/* vector.h ..... store a vector of PPTP_CALL information and search it - * efficiently. - * C. Scott Ananian <cananian@alumni.princeton.edu> - * - * $Id: vector.h,v 1.1.1.1 2000/12/23 08:19:51 scott Exp $ - */ - -#ifndef INC_VECTOR_H -#define INC_VECTOR_H - -#include "pptp_ctrl.h" /* for definition of PPTP_CALL */ - -typedef struct vector_struct VECTOR; - -VECTOR *vector_create(); -void vector_destroy(VECTOR *v); - -int vector_size(VECTOR *v); - -/* vector_insert and vector_search return TRUE on success, FALSE on failure. */ -int vector_insert(VECTOR *v, int key, PPTP_CALL * call); -int vector_remove(VECTOR *v, int key); -int vector_search(VECTOR *v, int key, PPTP_CALL ** call); -/* vector_contains returns FALSE if not found, TRUE if found. */ -int vector_contains(VECTOR *v, int key); -/* find first unused key. Returns TRUE on success, FALSE if no. */ -int vector_scan(VECTOR *v, int lo, int hi, int *key); -/* get a specific PPTP_CALL ... useful only when iterating. */ -PPTP_CALL * vector_get_Nth(VECTOR *v, int n); - -#endif /* INC_VECTOR_H */ |
