Asterisk - The Open Source Telephony Project GIT-master-4f2b068
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 34 of file geoloc_common.c.

35{
36 return result_names[result];
37}
static PGresult * result
Definition cel_pgsql.c:84
static const char * result_names[]

References result, and result_names.

Variable Documentation

◆ result_names

const char* result_names[]
static

Definition at line 22 of file geoloc_common.c.

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

Referenced by ast_geoloc_validate_result_to_str().