Asterisk - The Open Source Telephony Project
GIT-master-f36a736
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 Dec 18 2024 20:04:20 for Asterisk - The Open Source Telephony Project by
1.9.4