Asterisk - The Open Source Telephony Project GIT-master-27fb039
Loading...
Searching...
No Matches
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[]

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.

22 {
23 "Success",
24 "Missing type",
25 "Invalid shape type",
26 "Invalid variable name",
27 "Not enough variables",
28 "Too many variables",
29 "Invalid variable value"
30};

Referenced by ast_geoloc_validate_result_to_str().