blob: f583e2969a3c8ddf7daba7c7ef943a0796436b59 [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
akmhoquecb017752012-08-16 11:03:45 -050019void process_incoming_timed_out_interest(struct ccn_closure* selfp, struct ccn_upcall_info* info);
20
akmhoque59980a52012-08-09 12:36:09 -050021
22enum ccn_upcall_res incoming_content(struct ccn_closure* selfp, enum ccn_upcall_kind kind, struct ccn_upcall_info* info);
akmhoquecb017752012-08-16 11:03:45 -050023void process_incoming_content(struct ccn_closure* selfp, struct ccn_upcall_info* info);
akmhoque59980a52012-08-09 12:36:09 -050024
25#endif
26