summaryrefslogtreecommitdiffstats
path: root/libcli/util/werror.h
Commit message (Collapse)AuthorAgeFilesLines
* lib: use differing NTSTATUS and WERROR struct membersDavid Disseldorp2012-01-231-2/+2
| | | | | | | | | | | This allows the compiler to catch uses of incorrectly typed arguments for [NT_STATUS|W_ERROR]_IS_OK() and [NT_STATUS|W_ERROR]_EQUAL(). I.e. WERROR werr; werr = my_fn(); /* XXX returns WERROR type */ if (NT_STATUS_EQUAL(werr, NT_STATUS_OBJECT_NAME_COLLISION)) {
* werror: Added missing DNS error codesAmitay Isaacs2011-10-201-0/+36
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* werror: remove duplicate definition of WERR_INVALID_OWNERMichael Adam2011-08-261-1/+0
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Aug 26 01:23:52 CEST 2011 on sn-devel-104
* s4 dns: Import DNS win32 error codes from MS-ERREFKai Blin2010-10-231-0/+94
|
* werror: Add W_ERROR_HAVE_NO_MEMORY_AND_FREE() macroKamen Mazdrashki2010-09-181-0/+7
|
* werror.h - fix order and duplicate DS error codesMatthias Dieter Wallnöfer2010-08-141-58/+53
|
* w32err: Importing auto-generated Win32 errors and descriptionsKamen Mazdrashki2009-09-301-0/+2361
| | | | | | | | | Error codes and their descriptions are generated using w32err_code.py script. Error are downloaded from MS site: http://msdn.microsoft.com/en-us/library/cc231199%28PROT.10%29.aspx Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
* w32err: WERR_GROUP_NOT_FOUND renamed to WERR_GROUPNOTFOUNDKamen Mazdrashki2009-09-301-1/+1
| | | | | | | | | In Win 32 we have NERR_GroupNotFound which maps to WERR_GROUP_NOT_FOUND currently and we have ERROR_GROUP_NOT_FOUND which maps to nothing, so it is to be added Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
* w32err: WERR_USER_EXISTS replace with WERR_USEREXISTS nameKamen Mazdrashki2009-09-301-1/+1
| | | | | | | | | In Win32 we have NERR_UserExists which maps to WERR_USER_EXISTS currently and there is ERROR_USER_EXISTS which maps to WERR_USER_ALREADY_EXISTS Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
* w32err: WERR_DC_NOT_FOUND replaced with WERR_DCNOTFOUNDKamen Mazdrashki2009-09-301-1/+1
| | | | | | | It turns out in win32 ERROR_DC_NOT_FOUND exists and it is an error for Device Context (DC), not Domain Controller Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
* w32err: FRS_ group of errors replaced with numeric valuesKamen Mazdrashki2009-09-301-3/+3
| | | | Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
* w32err: WERR_DOMAIN_CONTROLLER_NOT_FOUND error value fixedKamen Mazdrashki2009-09-301-1/+1
| | | | Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
* w32err: Set hex format values for all errorsKamen Mazdrashki2009-09-171-90/+90
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* w32err: Re-define errors with numeric valuesKamen Mazdrashki2009-09-171-46/+46
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* w32err: Sorting error codes in ascending orderKamen Mazdrashki2009-09-171-10/+8
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* w32err: NERR_ codes grouped togetherKamen Mazdrashki2009-09-171-9/+9
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* w32err: WERR_CLASS_NOT_REGISTERED updatedKamen Mazdrashki2009-09-171-1/+6
| | | | | | | Error code move to COM/OLE group. Error value changed to as REGDB_E_CLASSNOTREG in Windows Signed-off-by: Günther Deschner <gd@samba.org>
* Adds new error codes (needed for enhancing error messages for SAMBA 4 AD ↵Matthias Dieter Wallnöfer2009-07-311-13/+46
| | | | LDAP server)
* error-codes: add some more group specific windows error codes.Günther Deschner2009-05-051-0/+2
| | | | Guenther
* error-codes: add WERR_CM_INVALID_POINTER.Günther Deschner2009-04-101-0/+1
| | | | Guenther
* error-codes: add some service related error codes.Günther Deschner2009-04-081-0/+3
| | | | | | Patch initially from: Danny Tylman <danny.tylman@insightix.com> Guenther
* error-codes: add WERR_DS_DRA_SOURCE_DISABLED.Günther Deschner2009-03-261-0/+1
| | | | Guenther
* error-codes: add WERR_DEVICE_NOT_CONNECTED.Günther Deschner2009-03-021-0/+1
| | | | Guenther
* libcli/util/werror.h: add macro W_ERROR_NOT_OK_GOTO(x, y)Michael Adam2009-02-261-0/+6
| | | | | | a goto destination can be specified as a second parameter. Michael
* s3: move definition of W_ERROR_NOT_OK_GOTO_DONE down to libcli/util/werror.hMichael Adam2009-02-261-0/+6
| | | | Michael
* error-codes: add WERR_INVALID_USER_BUFFER.Günther Deschner2009-02-241-0/+1
| | | | Guenther
* errors: add WERR_CM_BUFFER_SMALL.Günther Deschner2008-11-121-0/+1
| | | | Guenther
* doserr: add WERR_NO_TRUST_SAM_ACCOUNT.Günther Deschner2008-11-061-0/+1
| | | | Guenther
* Use shared doserr.c.Jelmer Vernooij2008-11-011-0/+1
|
* Import WERROR defines from Samba 3.Jelmer Vernooij2008-10-231-9/+57
|
* Move libcli-util error code to top-level.Jelmer Vernooij2008-10-231-0/+215