blob: be2a8f68e15c513a1ac74a38a5ad10022861ba4a [file] [log] [blame]
akmhoque59980a52012-08-09 12:36:09 -05001#ifndef _NLSR_NDN_H_
2#define _NLSR_NDN_H_
3
akmhoquebf1aa832012-08-13 13:26:59 -05004struct upcalldata {
5 int magic; /* 856372 */
6 long *counter;
7 unsigned warn;
8 int flags;
9 int n_excl;
10 struct ccn_charbuf **excl; /* Array of n_excl items */
11};
12
akmhoque1c9b92f2012-08-13 10:57:50 -050013int send_lsdb_interest(struct ccn_schedule *sched, void *clienth, struct ccn_scheduled_event *ev, int flags);
14
akmhoque59980a52012-08-09 12:36:09 -050015enum ccn_upcall_res incoming_interest(struct ccn_closure *selfp, enum ccn_upcall_kind kind, struct ccn_upcall_info *info);
akmhoque1c9b92f2012-08-13 10:57:50 -050016void process_incoming_interest(struct ccn_closure *selfp, struct ccn_upcall_info *info);
akmhoquebf1aa832012-08-13 13:26:59 -050017void process_incoming_interest_lsdb(struct ccn_closure *selfp, struct ccn_upcall_info *info);
akmhoque59980a52012-08-09 12:36:09 -050018
19
20enum ccn_upcall_res incoming_content(struct ccn_closure* selfp, enum ccn_upcall_kind kind, struct ccn_upcall_info* info);
21
22#endif
23