Asterisk - The Open Source Telephony Project GIT-master-f36a736
attestation.h
Go to the documentation of this file.
1/*
2 * Asterisk -- An open source telephony toolkit.
3 *
4 * Copyright (C) 2023, 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#ifndef ATTESTATION_H_
20#define ATTESTATION_H_
21
22#include "common_config.h"
23
29 );
32 struct tn_cfg *etn;
33};
34
35/*!
36 * \brief Load the stir/shaken attestation service
37 *
38 * \retval 0 on success
39 * \retval -1 on error
40 */
41int as_load(void);
42
43/*!
44 * \brief Load the stir/shaken attestation service
45 *
46 * \retval 0 on success
47 * \retval -1 on error
48 */
49int as_reload(void);
50
51/*!
52 * \brief Load the stir/shaken attestation service
53 *
54 * \retval 0 on success
55 * \retval -1 on error
56 */
57int as_unload(void);
58
59#endif /* ATTESTATION_H_ */
int as_unload(void)
Load the stir/shaken attestation service.
Definition: attestation.c:434
int as_reload(void)
Load the stir/shaken attestation service.
Definition: attestation.c:427
int as_load(void)
Load the stir/shaken attestation service.
Definition: attestation.c:440
#define AST_DECLARE_STRING_FIELDS(field_list)
Declare the fields needed in a structure.
Definition: stringfields.h:341
#define AST_STRING_FIELD(name)
Declare a string field.
Definition: stringfields.h:303
Main Channel structure associated with a channel.
const ast_string_field dest_tn
Definition: attestation.h:29
const ast_string_field orig_tn
Definition: attestation.h:29
struct tn_cfg * etn
Definition: attestation.h:32
const ast_string_field tag
Definition: attestation.h:29
struct ast_channel * chan
Definition: attestation.h:30
struct ast_vector_string fingerprints
Definition: attestation.h:31
String vector definitions.
Definition: vector.h:55
TN configuration for stir/shaken.