Asterisk - The Open Source Telephony Project GIT-master-1f1c5bb
Data Structures | Functions
attestation.h File Reference
#include "common_config.h"
Include dependency graph for attestation.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ast_stir_shaken_as_ctx
 

Functions

int as_load (void)
 Load the stir/shaken attestation service. More...
 
int as_reload (void)
 Load the stir/shaken attestation service. More...
 
int as_unload (void)
 Load the stir/shaken attestation service. More...
 

Function Documentation

◆ as_load()

int as_load ( void  )

Load the stir/shaken attestation service.

Return values
0on success
-1on error

Definition at line 439 of file attestation.c.

440{
441 if (as_config_load()) {
443 }
444
446}
int as_config_load(void)
@ AST_MODULE_LOAD_SUCCESS
Definition: module.h:70
@ AST_MODULE_LOAD_DECLINE
Module has failed to load, may be in an inconsistent state.
Definition: module.h:78

References as_config_load(), AST_MODULE_LOAD_DECLINE, and AST_MODULE_LOAD_SUCCESS.

Referenced by common_config_load().

◆ as_reload()

int as_reload ( void  )

Load the stir/shaken attestation service.

Return values
0on success
-1on error

Definition at line 426 of file attestation.c.

427{
429
430 return 0;
431}
int as_config_reload(void)

References as_config_reload().

Referenced by common_config_reload().

◆ as_unload()

int as_unload ( void  )

Load the stir/shaken attestation service.

Return values
0on success
-1on error

Definition at line 433 of file attestation.c.

434{
436 return 0;
437}
int as_config_unload(void)

References as_config_unload().

Referenced by common_config_unload().