akmhoque | 8fdd641 | 2012-12-04 15:05:33 -0600 | [diff] [blame] | 1 | #ifndef _NLSR_NDN_H_ |
| 2 | #define _NLSR_NDN_H_ |
| 3 | |
| 4 | int appendLifetime(struct ccn_charbuf *cb, int lifetime); |
| 5 | void get_nbr(struct name_prefix *nbr,struct ccn_closure *selfp, struct ccn_upcall_info *info); |
| 6 | void get_lsa_identifier(struct name_prefix *lsaId,struct ccn_closure *selfp, struct ccn_upcall_info *info,int offset); |
| 7 | void get_lsdb_version(char *lsdb_version,struct ccn_closure *selfp, struct ccn_upcall_info *info ); |
| 8 | int get_ls_type(struct ccn_closure *selfp, struct ccn_upcall_info *info); |
| 9 | |
akmhoque | fd255f4 | 2013-01-29 10:41:31 -0600 | [diff] [blame^] | 10 | enum ccn_upcall_res incoming_interest(struct ccn_closure *selfp, enum ccn_upcall_kind kind, struct ccn_upcall_info *info); |
akmhoque | 8fdd641 | 2012-12-04 15:05:33 -0600 | [diff] [blame] | 11 | void process_incoming_interest(struct ccn_closure *selfp, struct ccn_upcall_info *info); |
| 12 | void process_incoming_interest_info(struct ccn_closure *selfp, struct ccn_upcall_info *info); |
akmhoque | 8fdd641 | 2012-12-04 15:05:33 -0600 | [diff] [blame] | 13 | |
| 14 | enum ccn_upcall_res incoming_content(struct ccn_closure* selfp, enum ccn_upcall_kind kind, struct ccn_upcall_info* info); |
| 15 | void process_incoming_content(struct ccn_closure *selfp, struct ccn_upcall_info* info); |
| 16 | void process_incoming_content_info(struct ccn_closure *selfp, struct ccn_upcall_info* info); |
akmhoque | 8fdd641 | 2012-12-04 15:05:33 -0600 | [diff] [blame] | 17 | |
| 18 | void process_incoming_timed_out_interest(struct ccn_closure* selfp, struct ccn_upcall_info* info); |
| 19 | void process_incoming_timed_out_interest_info(struct ccn_closure* selfp, struct ccn_upcall_info* info); |
akmhoque | 8fdd641 | 2012-12-04 15:05:33 -0600 | [diff] [blame] | 20 | |
| 21 | int send_info_interest(struct ccn_schedule *sched, void *clienth, struct ccn_scheduled_event *ev, int flags); |
| 22 | void send_info_interest_to_neighbor(struct name_prefix *nbr); |
| 23 | |
akmhoque | 8fdd641 | 2012-12-04 15:05:33 -0600 | [diff] [blame] | 24 | |
| 25 | #endif |