werror.h enriched with few more error code (DRSUAPI related)

Kamen Mazdrashki kamen.mazdrashki at postpath.com
Wed Sep 16 21:10:41 MDT 2009


Hi, 

Attached is a list of patches to reformat werror.h file a little bit.
I've completed first part of my plan, which is (in short):
1. Use only numeric values for error codes
2. Use values in hex format (there are few exceptions) though
3. Fix ambiguous error names

What I plan to do next is:
4. using a python script - extract all error codes published by MS
5. Add errors that does not exist in werror.h to the file

Next is code refactoring:
6. Find out duplicate errors with different name. Refactor code base
to use the Generated WERR_ name.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: w32err_code.py
Type: application/octet-stream
Size: 12574 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20090917/5dd660e7/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-w32err-WERR_CLASS_NOT_REGISTERED-updated.patch
Type: application/octet-stream
Size: 2750 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20090917/5dd660e7/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-w32err-NERR_-codes-grouped-together.patch
Type: application/octet-stream
Size: 2477 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20090917/5dd660e7/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-w32err-Sorting-error-codes-in-ascending-order.patch
Type: application/octet-stream
Size: 4298 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20090917/5dd660e7/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-w32err-Re-define-errors-with-numeric-values.patch
Type: application/octet-stream
Size: 6176 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20090917/5dd660e7/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-w32err-Set-hex-format-values-for-all-errors.patch
Type: application/octet-stream
Size: 9707 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20090917/5dd660e7/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-w32err-use-WERR_DC_NOT_FOUND-name-instead-of-WERR_D.patch
Type: application/octet-stream
Size: 1146 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20090917/5dd660e7/attachment-0006.obj>


More information about the samba-technical mailing list