| xf.li | bdd93d5 | 2023-05-12 07:10:14 -0700 | [diff] [blame] | 1 | /**
 | 
 | 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 |  *******************************************************************************/
 | 
 | 45 | int reg_at_serv_func(char *at_cmd_prefix, ser_cb_proc cb);
 | 
 | 46 | int unreg_at_serv_func(char *at_cmd_prefix);
 | 
 | 47 | 
 | 
 | 48 | int reg_at_info_func(char *at_cmd_prefix, info_cb_proc cb);
 | 
 | 49 | int unreg_at_info_func(char *at_cmd_prefix);
 | 
 | 50 | 
 | 
 | 51 | 
 | 
 | 52 | #endif
 | 
 | 53 | 
 |