blob: f7702083a8b3e5e2fa72603679485863235599cc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include "ppp.h"
#include "memdebug.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;
}
|