akmhoque | 8fdd641 | 2012-12-04 15:05:33 -0600 | [diff] [blame] | 1 | #ifndef _NLSR_NPL_H_ |
2 | #define _NLSR_NPL_H_ | ||||
3 | |||||
4 | struct name_prefix_list_entry | ||||
5 | { | ||||
6 | struct name_prefix *np; | ||||
7 | long int name_lsa_id; | ||||
8 | }; | ||||
9 | |||||
10 | void add_name_to_npl(struct name_prefix *np); | ||||
11 | void print_name_prefix_from_npl(void); | ||||
12 | int does_name_exist_in_npl(struct name_prefix *np); | ||||
13 | void update_nlsa_id_for_name_in_npl(struct name_prefix *np, long int nlsa_id); | ||||
14 | long int get_lsa_id_from_npl(struct name_prefix *np); | ||||
15 | #endif |