uap.h
Go to the documentation of this file.
1/*
2 * $COPYRIGHT-BEGIN$
3 * libasterix
4 * Copyright [2013-2026] SinoATC <http://www.sinoatc.com>.
5 * All Rights Reserved.
6 *
7 * NOTICE: All information contained herein is, and remains
8 * the property of SinoATC and its suppliers, if any.
9 * The intellectual and technical concepts contained herein
10 * are proprietary to SinoATC and its suppliers and may be
11 * covered by U.S. and Foreign Patents, patents in process,
12 * and are protected by trade secret or copyright law.
13 * Dissemination of this information or reproduction of this material
14 * is strictly forbidden unless prior written permission is obtained
15 * from SinoATC.
16 * $COPYRIGHT-END$
17 */
18
27
28#ifndef LIBASTERIX_UAP_H
29#define LIBASTERIX_UAP_H
30
31#include "category.h"
32#include "dataitem.h"
33
34#ifdef __cplusplus
35extern "C" {
36#endif
37
38typedef unsigned int (*ast_uap_max_frn_func_t)(const ast_category_t category);
39typedef ast_dataitem_type_t (*ast_uap_func_t)(const ast_category_t category, const unsigned int frn);
40
46
47unsigned int ast_uap_max_frn(ast_uap_t uap, const ast_category_t category);
48
49AST_API ast_dataitem_type_t ast_uap_get_dataitem(ast_uap_t uap, const ast_category_t category, const unsigned int frn);
50
51#ifdef __cplusplus
52 }
53#endif // extern "C"
54
55#endif //LIBASTERIX_UAP_H
56
57// vim:set ft=c.doxygen sw=2 sts=2 fenc=utf8:
This file includes the common used data items shares by different categories.
ast_category_t
Definition of category ID.
Definition category.h:38
ASTERIX data item.
ast_dataitem_type_t
Definition of data item type in each category.
Definition dataitem.h:86
#define AST_API
Definition platform.h:63
Definition uap.h:42
ast_uap_max_frn_func_t max_frn_func
Definition uap.h:43
ast_uap_func_t get_dataitem_func
Definition uap.h:44
unsigned int ast_uap_max_frn(ast_uap_t uap, const ast_category_t category)
unsigned int(* ast_uap_max_frn_func_t)(const ast_category_t category)
Definition uap.h:38
ast_dataitem_type_t(* ast_uap_func_t)(const ast_category_t category, const unsigned int frn)
Definition uap.h:39
ast_dataitem_type_t ast_uap_get_dataitem(ast_uap_t uap, const ast_category_t category, const unsigned int frn)