summaryrefslogtreecommitdiff
path: root/accel-pptpd/ppp/ppp_pd.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pptpd/ppp/ppp_pd.c')
-rw-r--r--accel-pptpd/ppp/ppp_pd.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/accel-pptpd/ppp/ppp_pd.c b/accel-pptpd/ppp/ppp_pd.c
new file mode 100644
index 00000000..fe51bc01
--- /dev/null
+++ b/accel-pptpd/ppp/ppp_pd.c
@@ -0,0 +1,12 @@
+#include "ppp.h"
+
+int ppp_store_pd(struct ppp_t *ppp, pd_key_t key, void *data)
+{
+ struct ppp_pd_t *pd;
+
+ list_for_each_entry(pd, &ppp->pd_list, entry)
+ if (pd->key == key)
+ return -1;
+
+
+}