blob: 865bfcdd4aec2ed803611c712f9215e3cbf834ba [file] [log] [blame]
akmhoque03004e62012-09-06 01:12:28 -05001#ifndef _NLSR_NPL_H_
2#define _NLSR_NPL_H_
3
akmhoque3171d652012-11-13 11:44:33 -06004struct name_prefix_list_entry
5{
6 struct name_prefix *np;
7 long int name_lsa_id;
8};
9
akmhoque03004e62012-09-06 01:12:28 -050010void add_name_to_npl(struct name_prefix *np);
11void print_name_prefix_from_npl(void);
akmhoque3171d652012-11-13 11:44:33 -060012int does_name_exist_in_npl(struct name_prefix *np);
13void update_nlsa_id_for_name_in_npl(struct name_prefix *np, long int nlsa_id);
14long int get_lsa_id_from_npl(struct name_prefix *np);
akmhoquee6f98a12013-02-22 10:33:26 -060015void destroy_npl(void);
16void destroy_npl_entry_component(struct name_prefix_list_entry *npe);
akmhoque03004e62012-09-06 01:12:28 -050017#endif