Asterisk - The Open Source Telephony Project GIT-master-f36a736
Functions | Variables
geoloc_common.c File Reference
#include "asterisk.h"
#include "geoloc_private.h"
Include dependency graph for geoloc_common.c:

Go to the source code of this file.

Functions

const char * ast_geoloc_validate_result_to_str (enum ast_geoloc_validate_result result)
 

Variables

static const char * result_names []
 

Function Documentation

◆ ast_geoloc_validate_result_to_str()

const char * ast_geoloc_validate_result_to_str ( enum ast_geoloc_validate_result  result)

Definition at line 32 of file geoloc_common.c.

33{
34 return result_names[result];
35}
static PGresult * result
Definition: cel_pgsql.c:84
static const char * result_names[]
Definition: geoloc_common.c:22

References result, and result_names.

Referenced by validate_location_info().

Variable Documentation

◆ result_names

const char* result_names[]
static

Definition at line 22 of file geoloc_common.c.

Referenced by ast_geoloc_validate_result_to_str().