Revision ae80a2de nest/attrs.h

View differences:

nest/attrs.h
30 30
struct adata *as_path_prepend(struct linpool *pool, struct adata *olda, u32 as);
31 31
int as_path_convert_to_old(struct adata *path, byte *dst, int *new_used);
32 32
int as_path_convert_to_new(struct adata *path, byte *dst, int req_as);
33
void as_path_format(struct adata *path, byte *buf, unsigned int size);
33
void as_path_format(struct adata *path, byte *buf, uint size);
34 34
int as_path_getlen(struct adata *path);
35 35
int as_path_getlen_int(struct adata *path, int bs);
36 36
int as_path_get_first(struct adata *path, u32 *orig_as);
......
95 95
static inline u64 ec_generic(u64 key, u64 val)
96 96
{ return (key << 32) | val; }
97 97

  
98
int int_set_format(struct adata *set, int way, int from, byte *buf, unsigned int size);
98
int int_set_format(struct adata *set, int way, int from, byte *buf, uint size);
99 99
int ec_format(byte *buf, u64 ec);
100
int ec_set_format(struct adata *set, int from, byte *buf, unsigned int size);
100
int ec_set_format(struct adata *set, int from, byte *buf, uint size);
101 101
int int_set_contains(struct adata *list, u32 val);
102 102
int ec_set_contains(struct adata *list, u64 val);
103 103
struct adata *int_set_add(struct linpool *pool, struct adata *list, u32 val);

Also available in: Unified diff