isearch/3rdlib/attr_api/Attr_API.h

43 lines
612 B
C
Raw Normal View History

2021-03-19 18:38:34 +08:00
#ifndef ATTR_API_H
#define ATTR_API_H
#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */
int Attr_API_Set(int attr,int iValue);
int Get_Attr_Value(int attr,int *iValue);
int Attr_API(int attr,int iValue);
int get_adv_memlen();
int get_adv_memusedlen();
int adv_attr_set(int attr_id , size_t len , char* pvalue);
int get_adv_mem(size_t offset , size_t len , char* pOut);
int setNumAttrWithIP(const char* strIP, int iAttrID, int iValue);
int setStrAttrWithIP(const char* strIP, int iAttrID, size_t len , char* pval);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif // ATTR_API_H