Provided by: libloc-dev_0.9.16-1build1_amd64 bug

NAME

       loc_database_get_as - Fetch an AS from the database

SYNOPSIS

       #include <libloc/database.h>

       int loc_database_get_as(struct loc_database* db, struct loc_as** as, uint32_t number);

DESCRIPTION

       This function retrieves an Autonomous System with the matching number from the database
       and stores it in as.

RETURN VALUE

       On success, zero is returned. Otherwise non-zero is being returned and errno is set
       accordingly.

SEE ALSO

       libloc(3)

AUTHORS

       Michael Tremer

                                                                           LOC_DATABASE_GET_AS(3)