Changeset 32 for trunk/include
- Timestamp:
- 07/16/05 19:16:17 (19 years ago)
- Location:
- trunk/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/regfio.h
r31 r32 48 48 #include "smb_deps.h" 49 49 50 51 50 /******************************************************************************/ 52 51 /* Macros */ 53 52 53 /* Registry data types */ 54 #define REG_NONE 0 55 #define REG_SZ 1 56 #define REG_EXPAND_SZ 2 57 #define REG_BINARY 3 58 #define REG_DWORD 4 59 #define REG_DWORD_LE 4 /* DWORD, little endian */ 60 #define REG_DWORD_BE 5 /* DWORD, big endian */ 61 #define REG_LINK 6 62 #define REG_MULTI_SZ 7 63 #define REG_RESOURCE_LIST 8 64 #define REG_FULL_RESOURCE_DESCRIPTOR 9 65 #define REG_RESOURCE_REQUIREMENTS_LIST 10 66 /* Not a real type in the registry */ 67 #define REG_KEY 255 68 69 typedef struct _val_str { 70 unsigned int val; 71 const char * str; 72 } VAL_STR; 73 54 74 #define REGF_BLOCKSIZE 0x1000 55 75 #define REGF_ALLOC_BLOCK 0x1000 … … 230 250 /* Function Declarations */ 231 251 252 const char* type_val2str(unsigned int val); 253 int type_str2val(const char* str); 254 232 255 REGF_FILE* regfio_open( const char *filename ); 233 256 int regfio_close( REGF_FILE *r ); -
trunk/include/smb_deps.h
r31 r32 366 366 /* End of stuff from reg_objects.h */ 367 367 368 /* From rpc_reg.h */369 370 /* Registry data types */371 372 #define REG_NONE 0373 #define REG_SZ 1374 #define REG_EXPAND_SZ 2375 #define REG_BINARY 3376 #define REG_DWORD 4377 #define REG_DWORD_LE 4 /* DWORD, little endian */378 #define REG_DWORD_BE 5 /* DWORD, big endian */379 #define REG_LINK 6380 #define REG_MULTI_SZ 7381 #define REG_RESOURCE_LIST 8382 #define REG_FULL_RESOURCE_DESCRIPTOR 9383 #define REG_RESOURCE_REQUIREMENTS_LIST 10384 385 /* End of stuff from rpc_reg.h */386 387 368 /* From rpc_secdes.h */ 388 369
Note: See TracChangeset
for help on using the changeset viewer.