blob: 40f3eb0a16d02a8f134bf3cc230fa51cb9ed0800 [file] [log] [blame]
xf.libdd93d52023-05-12 07:10:14 -07001/**
2 * @file regist.h
3 * @brief Inter APIs of libatreg
4 *
5 * Copyright (C) 2022 Sanechips Technology Co., Ltd.
6 * @author
7 * @ingroup
8 *
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License version 2 as
11 * published by the Free Software Foundation.
12 *
13 */
14
15
16#ifndef _ATREG_REGIST_H
17#define _ATREG_REGIST_H
18
19
20/*******************************************************************************
21 * Include header files *
22 *******************************************************************************/
23#include "atreg_common.h"
24
25
26/*******************************************************************************
27 * Macro definitions *
28 *******************************************************************************/
29
30
31
32/*******************************************************************************
33 * Type definitions *
34 *******************************************************************************/
35
36
37/*******************************************************************************
38 * Global variable declarations *
39 *******************************************************************************/
40
41
42/*******************************************************************************
43 * Global function declarations *
44 *******************************************************************************/
45int reg_at_serv_func(char *at_cmd_prefix, ser_cb_proc cb);
46int unreg_at_serv_func(char *at_cmd_prefix);
47
48int reg_at_info_func(char *at_cmd_prefix, info_cb_proc cb);
49int unreg_at_info_func(char *at_cmd_prefix);
50
51
52#endif
53