TRIP Routing Daemon
TRIP (RFC 3219) Location Server Implementation
Loading...
Searching...
No Matches
api.h
Go to the documentation of this file.
1
/*
2
3
trip: Modern TRIP LS implementation
4
Copyright (C) 2026 arf20 (Ángel Ruiz Fernandez)
5
6
This program is free software: you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published by
8
the Free Software Foundation, either version 3 of the License, or
9
(at your option) any later version.
10
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
GNU General Public License for more details.
15
16
You should have received a copy of the GNU General Public License
17
along with this program. If not, see <https://www.gnu.org/licenses/>.
18
19
*/
20
24
25
#ifndef _API_H
26
#define _API_H
27
28
#include <
db/trib.h
>
29
30
#include <sys/types.h>
31
32
typedef
int(*endpoint_handler_t)(int,
char
*,
char
*, ssize_t,
trib_t
*);
33
34
typedef
struct
{
35
const
char
*endpoint;
36
endpoint_handler_t handler;
37
}
endpoint_t
;
38
39
extern
const
endpoint_t
api[];
40
41
#endif
/* _API_H */
42
endpoint_t
Definition
api.h:34
trib_t
Telephony Routing Information Base.
Definition
trib.h:140
trib.h
Telephony Routing Information Base.
src
api
api.h
Generated by
1.16.1