fspec.h File Reference

Implementation of Field SPECification (FSPEC) concept defined by ASTERIX. More...

#include <stddef.h>
#include <stdbool.h>
#include "platform.h"
Include dependency graph for fspec.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ast_fspec_t
 

Functions

ast_fspec_t ast_fspec_decode (const unsigned char *const buffer, const size_t bufsize)
 
ast_fspec_t ast_fspec_copy (unsigned char *const buffer, const size_t bufsize, const ast_fspec_t src)
 
bool ast_fspec_is_set (const ast_fspec_t *fspec, const unsigned int frn)
 
bool ast_fspec_set (unsigned char *const buffer, const size_t bufsize, const unsigned int frn, const bool set)
 

Detailed Description

Implementation of Field SPECification (FSPEC) concept defined by ASTERIX.

Function Documentation

◆ ast_fspec_copy()

ast_fspec_t ast_fspec_copy ( unsigned char *const  buffer,
const size_t  bufsize,
const ast_fspec_t  src 
)

◆ ast_fspec_decode()

ast_fspec_t ast_fspec_decode ( const unsigned char *const  buffer,
const size_t  bufsize 
)

◆ ast_fspec_is_set()

bool ast_fspec_is_set ( const ast_fspec_t fspec,
const unsigned int  frn 
)

◆ ast_fspec_set()

bool ast_fspec_set ( unsigned char *const  buffer,
const size_t  bufsize,
const unsigned int  frn,
const bool  set 
)