Changes in kernel/generic/include/sysinfo/sysinfo.h [e1b6742:311bc25] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/sysinfo/sysinfo.h
re1b6742 r311bc25 65 65 66 66 /** Gerated numeric value function */ 67 typedef unative_t (*sysinfo_fn_val_t)(struct sysinfo_item *);67 typedef sysarg_t (*sysinfo_fn_val_t)(struct sysinfo_item *); 68 68 69 69 /** Generated binary data function */ … … 82 82 */ 83 83 typedef union { 84 unative_t val;/**< Constant numberic value */84 sysarg_t val; /**< Constant numberic value */ 85 85 sysinfo_fn_val_t fn_val; /**< Generated numeric value function */ 86 86 sysinfo_fn_data_t fn_data; /**< Generated binary data function */ … … 99 99 sysinfo_item_val_type_t tag; /**< Return value type */ 100 100 union { 101 unative_t val;/**< Numberic value */101 sysarg_t val; /**< Numberic value */ 102 102 sysinfo_data_t data; /**< Binary data */ 103 103 }; … … 130 130 } sysinfo_item_t; 131 131 132 extern void sysinfo_set_item_val(const char *, sysinfo_item_t **, unative_t);132 extern void sysinfo_set_item_val(const char *, sysinfo_item_t **, sysarg_t); 133 133 extern void sysinfo_set_item_data(const char *, sysinfo_item_t **, void *, 134 134 size_t); … … 145 145 extern void sysinfo_dump(sysinfo_item_t *); 146 146 147 extern unative_t sys_sysinfo_get_tag(void *, size_t);148 extern unative_t sys_sysinfo_get_value(void *, size_t, void *);149 extern unative_t sys_sysinfo_get_data_size(void *, size_t, void *);150 extern unative_t sys_sysinfo_get_data(void *, size_t, void *, size_t);147 extern sysarg_t sys_sysinfo_get_tag(void *, size_t); 148 extern sysarg_t sys_sysinfo_get_value(void *, size_t, void *); 149 extern sysarg_t sys_sysinfo_get_data_size(void *, size_t, void *); 150 extern sysarg_t sys_sysinfo_get_data(void *, size_t, void *, size_t, size_t *); 151 151 152 152 #endif
Note:
See TracChangeset
for help on using the changeset viewer.