The source3 code currently uses:
#define Undefined (-1)
#define False false
#define True true
#define Required (3)
In order to make the rewrite easier we should match the values.
metze
};
enum smb_signing_setting {
- SMB_SIGNING_DEFAULT,
- SMB_SIGNING_OFF,
- SMB_SIGNING_IF_REQUIRED,
- SMB_SIGNING_REQUIRED,
+ SMB_SIGNING_DEFAULT = -1,
+ SMB_SIGNING_OFF = 0,
+ SMB_SIGNING_IF_REQUIRED = 1,
+ SMB_SIGNING_REQUIRED = 3,
};
/* types of buffers in core SMB protocol */