Asterisk - The Open Source Telephony Project
GIT-master-3dee037
Toggle main menu visibility
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
u
v
w
y
Functions
b
c
d
e
f
g
i
l
m
n
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
i
l
m
n
o
p
q
r
s
t
y
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
Properties
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Macros
Modules
Pages
res
res_geolocation
geoloc_common.c
Go to the documentation of this file.
1
/*
2
* Asterisk -- An open source telephony toolkit.
3
*
4
* Copyright (C) 2022, Sangoma Technologies Corporation
5
*
6
* George Joseph <gjoseph@sangoma.com>
7
*
8
* See http://www.asterisk.org for more information about
9
* the Asterisk project. Please do not directly contact
10
* any of the maintainers of this project for assistance;
11
* the project provides a web site, mailing lists and IRC
12
* channels for your use.
13
*
14
* This program is free software, distributed under the terms of
15
* the GNU General Public License Version 2. See the LICENSE file
16
* at the top of the source tree.
17
*/
18
19
#include "
asterisk.h
"
20
#include "
geoloc_private.h
"
21
22
static
const
char
*
result_names
[] = {
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
};
31
32
const
char
*
ast_geoloc_validate_result_to_str
(
enum
ast_geoloc_validate_result
result
)
33
{
34
return
result_names
[
result
];
35
}
36
asterisk.h
Asterisk main include file. File version handling, generic pbx functions.
result
static PGresult * result
Definition:
cel_pgsql.c:84
ast_geoloc_validate_result_to_str
const char * ast_geoloc_validate_result_to_str(enum ast_geoloc_validate_result result)
Definition:
geoloc_common.c:32
result_names
static const char * result_names[]
Definition:
geoloc_common.c:22
geoloc_private.h
ast_geoloc_validate_result
ast_geoloc_validate_result
Definition:
res_geolocation.h:152
Generated on Wed Jan 1 2025 20:04:27 for Asterisk - The Open Source Telephony Project by
1.9.4