Asterisk - The Open Source Telephony Project
21.4.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
res
res_geolocation
geoloc_common.c
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.
Generated on Tue Jul 15 2025 11:50:40 for Asterisk - The Open Source Telephony Project by
1.8.10