blob: 40f3eb0a16d02a8f134bf3cc230fa51cb9ed0800 [file] [log] [blame]
/**
* @file regist.h
* @brief Inter APIs of libatreg
*
* Copyright (C) 2022 Sanechips Technology Co., Ltd.
* @author
* @ingroup
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
*/
#ifndef _ATREG_REGIST_H
#define _ATREG_REGIST_H
/*******************************************************************************
* Include header files *
*******************************************************************************/
#include "atreg_common.h"
/*******************************************************************************
* Macro definitions *
*******************************************************************************/
/*******************************************************************************
* Type definitions *
*******************************************************************************/
/*******************************************************************************
* Global variable declarations *
*******************************************************************************/
/*******************************************************************************
* Global function declarations *
*******************************************************************************/
int reg_at_serv_func(char *at_cmd_prefix, ser_cb_proc cb);
int unreg_at_serv_func(char *at_cmd_prefix);
int reg_at_info_func(char *at_cmd_prefix, info_cb_proc cb);
int unreg_at_info_func(char *at_cmd_prefix);
#endif