akmhoque | 59980a5 | 2012-08-09 12:36:09 -0500 | [diff] [blame] | 1 | #ifndef _NLSR_NDN_H_ |
| 2 | #define _NLSR_NDN_H_ |
| 3 | |
akmhoque | bf1aa83 | 2012-08-13 13:26:59 -0500 | [diff] [blame] | 4 | struct 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 | |
akmhoque | 1c9b92f | 2012-08-13 10:57:50 -0500 | [diff] [blame] | 13 | int send_lsdb_interest(struct ccn_schedule *sched, void *clienth, struct ccn_scheduled_event *ev, int flags); |
| 14 | |
akmhoque | 59980a5 | 2012-08-09 12:36:09 -0500 | [diff] [blame] | 15 | enum ccn_upcall_res incoming_interest(struct ccn_closure *selfp, enum ccn_upcall_kind kind, struct ccn_upcall_info *info); |
akmhoque | 1c9b92f | 2012-08-13 10:57:50 -0500 | [diff] [blame] | 16 | void process_incoming_interest(struct ccn_closure *selfp, struct ccn_upcall_info *info); |
akmhoque | bf1aa83 | 2012-08-13 13:26:59 -0500 | [diff] [blame] | 17 | void process_incoming_interest_lsdb(struct ccn_closure *selfp, struct ccn_upcall_info *info); |
akmhoque | 59980a5 | 2012-08-09 12:36:09 -0500 | [diff] [blame] | 18 | |
akmhoque | cb01775 | 2012-08-16 11:03:45 -0500 | [diff] [blame^] | 19 | void process_incoming_timed_out_interest(struct ccn_closure* selfp, struct ccn_upcall_info* info); |
| 20 | |
akmhoque | 59980a5 | 2012-08-09 12:36:09 -0500 | [diff] [blame] | 21 | |
| 22 | enum ccn_upcall_res incoming_content(struct ccn_closure* selfp, enum ccn_upcall_kind kind, struct ccn_upcall_info* info); |
akmhoque | cb01775 | 2012-08-16 11:03:45 -0500 | [diff] [blame^] | 23 | void process_incoming_content(struct ccn_closure* selfp, struct ccn_upcall_info* info); |
akmhoque | 59980a5 | 2012-08-09 12:36:09 -0500 | [diff] [blame] | 24 | |
| 25 | #endif |
| 26 | |