summaryrefslogtreecommitdiff
path: root/source3/include/doserr.h
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-09-12 01:11:43 +0000
committerTim Potter <tpot@samba.org>2001-09-12 01:11:43 +0000
commitdb9ba1f875510d2c3fa7faa2104a032096837d05 (patch)
treec780ecfcada3f47c3894019661706b8787478a01 /source3/include/doserr.h
parent91bd0d7e9b0aec7bfd92eca8d53623b3da0b326b (diff)
downloadsamba-db9ba1f875510d2c3fa7faa2104a032096837d05.tar.gz
samba-db9ba1f875510d2c3fa7faa2104a032096837d05.tar.bz2
samba-db9ba1f875510d2c3fa7faa2104a032096837d05.zip
Moved and renamed DFS error constants from include/rpc_dfs.h to doserr.h to
fit in with new error reporting subsystem. (This used to be commit dbfd50d447e4166a4233034885666d985ca6beb8)
Diffstat (limited to 'source3/include/doserr.h')
-rw-r--r--source3/include/doserr.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/source3/include/doserr.h b/source3/include/doserr.h
index bdb7da5956..dc5bd0414a 100644
--- a/source3/include/doserr.h
+++ b/source3/include/doserr.h
@@ -158,4 +158,16 @@
#define WERR_PRINTER_DRIVER_IN_USE W_ERROR(3001)
#define WERR_STATUS_MORE_ENTRIES W_ERROR(0x0105)
+/* DFS errors */
+
+#ifndef NERR_BASE
+#define NERR_BASE (2100)
+#endif
+
+#define WERR_DFS_NO_SUCH_VOL W_ERROR(NERR_BASE+562)
+#define WERR_DFS_NO_SUCH_SHARE W_ERROR(NERR_BASE+565)
+#define WERR_DFS_NO_SUCH_SERVER W_ERROR(NERR_BASE+573)
+#define WERR_DFS_INTERNAL_ERROR W_ERROR(NERR_BASE+590)
+#define WERR_DFS_CANT_CREATE_JUNCT W_ERROR(NERR_BASE+569)
+
#endif /* _DOSERR_H */