📄 benc.h
字号:
#ifndef __BENC__H#define __BENC__H#include "types.h"#include "bts.h"/* string *//* all functions return 0 - success, 1 - error */int benc_put_string( struct btStream* bts, btString *s) ;int benc_get_string( struct btStream* bts, btString *s) ;/* integer */int benc_put_int( struct btStream *bts, btInteger *i) ;int benc_get_int( struct btStream *bts, btInteger *i) ;/* list */int benc_put_list( struct btStream *bts, btList *a) ;int benc_get_list( struct btStream *bts, btList *a) ;/* dictionary */int benc_put_dict( struct btStream *bts, btDict *d) ;int benc_get_dict( struct btStream *bts, btDict *a) ;/* object */int benc_put_object( btStream *bts, btObject *o) ;int benc_get_object( btStream *bts, btObject **o) ;#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -