?? field.h
字號:
#ifndef __NFSIM_FIELD_H#define __NFSIM_FIELD_H/* Dynamically attach a "field" to a structure. This is better than * actually adding a field which might accidentally clash with a real * field (or someone developing under nfsim might think it's a real field!). */#include <stdbool.h>/* strct is talloc'ed: field destroyed when strct is. val is talloc_stealed */void field_attach(const void *strct, const char *name, void *val);/* strct is not talloc'ed: field destroyed manually. */void field_attach_static(const void *strct, const char *name, void *val);bool field_exists(const void *strct, const char *name);void *field_value(const void *strct, const char *name);void field_detach(const void *strct, const char *name);void field_detach_all(const void *strct);#endif /* __NFSIM_FIELD_H */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -