1LOC_DATABASE_GET_AS(3) LOC_DATABASE_GET_AS(3)
2
3
4
6 loc_database_get_as - Fetch an AS from the database
7
9 #include <libloc/database.h>
10
11 int loc_database_get_as(struct loc_database* db, struct loc_as** as,
12 uint32_t number);
13
15 This function retrieves an Autonomous System with the matching number
16 from the database and stores it in as.
17
19 On success, zero is returned. Otherwise non-zero is being returned and
20 errno is set accordingly.
21
23 libloc(3)
24
26 Michael Tremer
27
28
29
30 LOC_DATABASE_GET_AS(3)