1 = loc_database_get_as(3)
5 loc_database_get_as - Fetch an AS from the database
10 #include <libloc/database.h>
12 int loc_database_get_as(struct loc_database{empty}* db, struct loc_as{empty}*{empty}* as,
17 This function retrieves an Autonomous System with the matching _number_ from the database
18 and stores it in _as_.
22 On success, zero is returned. Otherwise non-zero is being returned and _errno_ is set