akmhoque | 59980a5 | 2012-08-09 12:36:09 -0500 | [diff] [blame] | 1 | #ifndef _NLSR_NDN_H_ |
| 2 | #define _NLSR_NDN_H_ |
| 3 | |
akmhoque | d79438d | 2012-08-27 13:31:42 -0500 | [diff] [blame^] | 4 | int appendLifetime(struct ccn_charbuf *cb, int lifetime); |
akmhoque | bf1aa83 | 2012-08-13 13:26:59 -0500 | [diff] [blame] | 5 | |
akmhoque | 1c9b92f | 2012-08-13 10:57:50 -0500 | [diff] [blame] | 6 | int send_lsdb_interest(struct ccn_schedule *sched, void *clienth, struct ccn_scheduled_event *ev, int flags); |
| 7 | |
akmhoque | 59980a5 | 2012-08-09 12:36:09 -0500 | [diff] [blame] | 8 | 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] | 9 | void process_incoming_interest(struct ccn_closure *selfp, struct ccn_upcall_info *info); |
akmhoque | bf1aa83 | 2012-08-13 13:26:59 -0500 | [diff] [blame] | 10 | void process_incoming_interest_lsdb(struct ccn_closure *selfp, struct ccn_upcall_info *info); |
akmhoque | d79438d | 2012-08-27 13:31:42 -0500 | [diff] [blame^] | 11 | void process_incoming_interest_info(struct ccn_closure *selfp, struct ccn_upcall_info *info); |
akmhoque | 59980a5 | 2012-08-09 12:36:09 -0500 | [diff] [blame] | 12 | |
akmhoque | cb01775 | 2012-08-16 11:03:45 -0500 | [diff] [blame] | 13 | void process_incoming_timed_out_interest(struct ccn_closure* selfp, struct ccn_upcall_info* info); |
akmhoque | dde7e32 | 2012-08-16 13:57:06 -0500 | [diff] [blame] | 14 | void process_incoming_timed_out_interest_lsdb(struct ccn_closure* selfp, struct ccn_upcall_info* info); |
akmhoque | d79438d | 2012-08-27 13:31:42 -0500 | [diff] [blame^] | 15 | void process_incoming_timed_out_interest_info(struct ccn_closure* selfp, struct ccn_upcall_info* info); |
akmhoque | cb01775 | 2012-08-16 11:03:45 -0500 | [diff] [blame] | 16 | |
akmhoque | 59980a5 | 2012-08-09 12:36:09 -0500 | [diff] [blame] | 17 | |
| 18 | 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] | 19 | void process_incoming_content(struct ccn_closure* selfp, struct ccn_upcall_info* info); |
akmhoque | 638c20a | 2012-08-16 11:57:48 -0500 | [diff] [blame] | 20 | void process_incoming_content_lsdb(struct ccn_closure* selfp, struct ccn_upcall_info* info); |
akmhoque | d79438d | 2012-08-27 13:31:42 -0500 | [diff] [blame^] | 21 | void process_incoming_content_info(struct ccn_closure* selfp, struct ccn_upcall_info* info); |
| 22 | |
| 23 | |
| 24 | int send_info_interest(struct ccn_schedule *sched, void *clienth, struct ccn_scheduled_event *ev, int flags); |
| 25 | void send_info_interest_to_neighbor(struct ccn_charbuf *nbr); |
akmhoque | 59980a5 | 2012-08-09 12:36:09 -0500 | [diff] [blame] | 26 | |
| 27 | #endif |
| 28 | |