summaryrefslogtreecommitdiff
path: root/libcli/util/werror.h
AgeCommit message (Collapse)AuthorFilesLines
2012-01-23lib: use differing NTSTATUS and WERROR struct membersDavid Disseldorp1-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)) {
2011-10-20werror: Added missing DNS error codesAmitay Isaacs1-0/+36
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-08-26werror: remove duplicate definition of WERR_INVALID_OWNERMichael Adam1-1/+0
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Aug 26 01:23:52 CEST 2011 on sn-devel-104
2010-10-23s4 dns: Import DNS win32 error codes from MS-ERREFKai Blin1-0/+94
2010-09-18werror: Add W_ERROR_HAVE_NO_MEMORY_AND_FREE() macroKamen Mazdrashki1-0/+7
2010-08-14werror.h - fix order and duplicate DS error codesMatthias Dieter Wallnöfer1-58/+53
2009-09-30w32err: Importing auto-generated Win32 errors and descriptionsKamen Mazdrashki1-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>
2009-09-30w32err: WERR_GROUP_NOT_FOUND renamed to WERR_GROUPNOTFOUNDKamen Mazdrashki1-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>
2009-09-30w32err: WERR_USER_EXISTS replace with WERR_USEREXISTS nameKamen Mazdrashki1-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>
2009-09-30w32err: WERR_DC_NOT_FOUND replaced with WERR_DCNOTFOUNDKamen Mazdrashki1-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>
2009-09-30w32err: FRS_ group of errors replaced with numeric valuesKamen Mazdrashki1-3/+3
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2009-09-30w32err: WERR_DOMAIN_CONTROLLER_NOT_FOUND error value fixedKamen Mazdrashki1-1/+1
Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
2009-09-17w32err: Set hex format values for all errorsKamen Mazdrashki1-90/+90
Signed-off-by: Günther Deschner <gd@samba.org>
2009-09-17w32err: Re-define errors with numeric valuesKamen Mazdrashki1-46/+46
Signed-off-by: Günther Deschner <gd@samba.org>
2009-09-17w32err: Sorting error codes in ascending orderKamen Mazdrashki1-10/+8
Signed-off-by: Günther Deschner <gd@samba.org>
2009-09-17w32err: NERR_ codes grouped togetherKamen Mazdrashki1-9/+9
Signed-off-by: Günther Deschner <gd@samba.org>
2009-09-17w32err: WERR_CLASS_NOT_REGISTERED updatedKamen Mazdrashki1-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>
2009-07-31Adds new error codes (needed for enhancing error messages for SAMBA 4 AD ↵Matthias Dieter Wallnöfer1-13/+46
LDAP server)
2009-05-05error-codes: add some more group specific windows error codes.Günther Deschner1-0/+2
Guenther
2009-04-10error-codes: add WERR_CM_INVALID_POINTER.Günther Deschner1-0/+1
Guenther
2009-04-08error-codes: add some service related error codes.Günther Deschner1-0/+3
Patch initially from: Danny Tylman <danny.tylman@insightix.com> Guenther
2009-03-26error-codes: add WERR_DS_DRA_SOURCE_DISABLED.Günther Deschner1-0/+1
Guenther
2009-03-02error-codes: add WERR_DEVICE_NOT_CONNECTED.Günther Deschner1-0/+1
Guenther
2009-02-26libcli/util/werror.h: add macro W_ERROR_NOT_OK_GOTO(x, y)Michael Adam1-0/+6
a goto destination can be specified as a second parameter. Michael
2009-02-26s3: move definition of W_ERROR_NOT_OK_GOTO_DONE down to libcli/util/werror.hMichael Adam1-0/+6
Michael
2009-02-24error-codes: add WERR_INVALID_USER_BUFFER.Günther Deschner1-0/+1
Guenther
2008-11-12errors: add WERR_CM_BUFFER_SMALL.Günther Deschner1-0/+1
Guenther
2008-11-06doserr: add WERR_NO_TRUST_SAM_ACCOUNT.Günther Deschner1-0/+1
Guenther
2008-11-01Use shared doserr.c.Jelmer Vernooij1-0/+1
2008-10-23Import WERROR defines from Samba 3.Jelmer Vernooij1-9/+57
2008-10-23Move libcli-util error code to top-level.Jelmer Vernooij1-0/+215