#include <stdlib.h>
#include <string.h>
#include <amxc/amxc_macros.h>
#include <amxc/amxc.h>
#include <amxp/variant_siginfo.h>
Go to the source code of this file.
◆ amxc_var_get_const_amxp_siginfo_t()
const amxp_siginfo_t* amxc_var_get_const_amxp_siginfo_t |
( |
const amxc_var_t *const |
var | ) |
|
Definition at line 125 of file variant_siginfo.c.
129 when_null(var, exit);
struct signalfd_siginfo amxp_siginfo_t
#define AMXC_VAR_ID_SIGINFO
◆ amxc_var_set_amxp_siginfo_t()
int amxc_var_set_amxp_siginfo_t |
( |
amxc_var_t *const |
var, |
|
|
const amxp_siginfo_t *const |
val |
|
) |
| |
Definition at line 138 of file variant_siginfo.c.
141 when_null(var, exit);
142 when_null(val, exit);
◆ CONSTRUCTOR_LVL()
◆ DESTRUCTOR_LVL()
◆ variant_siginfo_copy()
static int variant_siginfo_copy |
( |
amxc_var_t *const |
dest, |
|
|
const amxc_var_t *const |
src |
|
) |
| |
|
static |
◆ variant_siginfo_delete()
static void variant_siginfo_delete |
( |
amxc_var_t * |
var | ) |
|
|
static |
◆ variant_siginfo_init()
static int variant_siginfo_init |
( |
amxc_var_t *const |
var | ) |
|
|
static |
Definition at line 62 of file variant_siginfo.c.
65 when_null(var_siginfo, exit);
67 var->data.data = var_siginfo;
◆ variant_siginfo_move()
static int variant_siginfo_move |
( |
amxc_var_t *const |
dest, |
|
|
amxc_var_t *const |
src |
|
) |
| |
|
static |
Definition at line 93 of file variant_siginfo.c.
95 dest->data = src->data;
96 src->data.data = NULL;
◆ variant_siginfo
amxc_var_type_t variant_siginfo |
|
static |
Initial value:= {
.convert_from = NULL,
.convert_to = NULL,
.compare = NULL,
.get_key = NULL,
.set_key = NULL,
.get_index = NULL,
.set_index = NULL,
.type_id = 0,
.hit = { .ait = NULL, .key = NULL, .next = NULL },
}
static int variant_siginfo_copy(amxc_var_t *const dest, const amxc_var_t *const src)
static void variant_siginfo_delete(amxc_var_t *var)
static int variant_siginfo_move(amxc_var_t *const dest, amxc_var_t *const src)
static int variant_siginfo_init(amxc_var_t *const var)
#define AMXC_VAR_NAME_SIGINFO
Definition at line 100 of file variant_siginfo.c.