aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-afp.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2005-07-26 09:52:06 +0000
committerAnders Broman <anders.broman@ericsson.com>2005-07-26 09:52:06 +0000
commit9c99a261f0700eee48ea42647b12488abf850fe3 (patch)
tree719493527b8d885992a338b4aef9a9084263bef1 /epan/dissectors/packet-afp.h
parentd410c9ed5440896b43d0515e178cfb38305698e1 (diff)
From Maynard, Chris :
The attached patches, generated via svn diff , correct various compiler & lint warnings, among them: lemon.c(2582) : warning C4090: '=' : different 'const' qualifiers packet-ber.c(212) : warning C4018: '<=' : signed/unsigned mismatch packet-ber.c(228) : warning C4018: '>=' : signed/unsigned mismatch packet-bootp.c(2112) : warning C4018: '<' : signed/unsigned mismatch packet-iscsi.c(801) : warning C4018: '>=' : signed/unsigned mismatch svn path=/trunk/; revision=15085
Diffstat (limited to 'epan/dissectors/packet-afp.h')
-rw-r--r--epan/dissectors/packet-afp.h96
1 files changed, 48 insertions, 48 deletions
diff --git a/epan/dissectors/packet-afp.h b/epan/dissectors/packet-afp.h
index 71638681c0..52d42b7807 100644
--- a/epan/dissectors/packet-afp.h
+++ b/epan/dissectors/packet-afp.h
@@ -26,55 +26,55 @@
#define PACKET_AFP_H
#define AFP_OK 0
-#define AFPERR_ACCESS -5000 /* permission denied */
-#define AFPERR_AUTHCONT -5001 /* logincont */
-#define AFPERR_BADUAM -5002 /* uam doesn't exist */
-#define AFPERR_BADVERS -5003 /* bad afp version number */
-#define AFPERR_BITMAP -5004 /* invalid bitmap */
-#define AFPERR_CANTMOVE -5005 /* can't move file */
-#define AFPERR_DENYCONF -5006 /* file synchronization locks conflict */
-#define AFPERR_DIRNEMPT -5007 /* directory not empty */
-#define AFPERR_DFULL -5008 /* disk full */
-#define AFPERR_EOF -5009 /* end of file -- catsearch and afp_read */
-#define AFPERR_BUSY -5010 /* FileBusy */
-#define AFPERR_FLATVOL -5011 /* volume doesn't support directories */
-#define AFPERR_NOITEM -5012 /* ItemNotFound */
-#define AFPERR_LOCK -5013 /* LockErr */
-#define AFPERR_MISC -5014 /* misc. err */
-#define AFPERR_NLOCK -5015 /* no more locks */
-#define AFPERR_NOSRVR -5016 /* no response by server at that address */
-#define AFPERR_EXIST -5017 /* object already exists */
-#define AFPERR_NOOBJ -5018 /* object not found */
-#define AFPERR_PARAM -5019 /* parameter error */
-#define AFPERR_NORANGE -5020 /* no range lock */
-#define AFPERR_RANGEOVR -5021 /* range overlap */
-#define AFPERR_SESSCLOS -5022 /* session closed */
-#define AFPERR_NOTAUTH -5023 /* user not authenticated */
-#define AFPERR_NOOP -5024 /* command not supported */
-#define AFPERR_BADTYPE -5025 /* object is the wrong type */
-#define AFPERR_NFILE -5026 /* too many files open */
-#define AFPERR_SHUTDOWN -5027 /* server is going down */
-#define AFPERR_NORENAME -5028 /* can't rename */
-#define AFPERR_NODIR -5029 /* couldn't find directory */
-#define AFPERR_ITYPE -5030 /* wrong icon type */
-#define AFPERR_VLOCK -5031 /* volume locked */
-#define AFPERR_OLOCK -5032 /* object locked */
-#define AFPERR_CTNSHRD -5033 /* share point contains a share point */
-#define AFPERR_NOID -5034 /* file thread not found */
-#define AFPERR_EXISTID -5035 /* file already has an id */
-#define AFPERR_DIFFVOL -5036 /* different volume */
-#define AFPERR_CATCHNG -5037 /* catalog has changed */
-#define AFPERR_SAMEOBJ -5038 /* source file == destination file */
-#define AFPERR_BADID -5039 /* non-existent file id */
-#define AFPERR_PWDSAME -5040 /* same password/can't change password */
-#define AFPERR_PWDSHORT -5041 /* password too short */
-#define AFPERR_PWDEXPR -5042 /* password expired */
-#define AFPERR_INSHRD -5043 /* folder being shared is inside a shared folder. may be returned by
+#define AFPERR_ACCESS (-5000) /* permission denied */
+#define AFPERR_AUTHCONT (-5001) /* logincont */
+#define AFPERR_BADUAM (-5002) /* uam doesn't exist */
+#define AFPERR_BADVERS (-5003) /* bad afp version number */
+#define AFPERR_BITMAP (-5004) /* invalid bitmap */
+#define AFPERR_CANTMOVE (-5005) /* can't move file */
+#define AFPERR_DENYCONF (-5006) /* file synchronization locks conflict */
+#define AFPERR_DIRNEMPT (-5007) /* directory not empty */
+#define AFPERR_DFULL (-5008) /* disk full */
+#define AFPERR_EOF (-5009) /* end of file -- catsearch and afp_read */
+#define AFPERR_BUSY (-5010) /* FileBusy */
+#define AFPERR_FLATVOL (-5011) /* volume doesn't support directories */
+#define AFPERR_NOITEM (-5012) /* ItemNotFound */
+#define AFPERR_LOCK (-5013) /* LockErr */
+#define AFPERR_MISC (-5014) /* misc. err */
+#define AFPERR_NLOCK (-5015) /* no more locks */
+#define AFPERR_NOSRVR (-5016) /* no response by server at that address */
+#define AFPERR_EXIST (-5017) /* object already exists */
+#define AFPERR_NOOBJ (-5018) /* object not found */
+#define AFPERR_PARAM (-5019) /* parameter error */
+#define AFPERR_NORANGE (-5020) /* no range lock */
+#define AFPERR_RANGEOVR (-5021) /* range overlap */
+#define AFPERR_SESSCLOS (-5022) /* session closed */
+#define AFPERR_NOTAUTH (-5023) /* user not authenticated */
+#define AFPERR_NOOP (-5024) /* command not supported */
+#define AFPERR_BADTYPE (-5025) /* object is the wrong type */
+#define AFPERR_NFILE (-5026) /* too many files open */
+#define AFPERR_SHUTDOWN (-5027) /* server is going down */
+#define AFPERR_NORENAME (-5028) /* can't rename */
+#define AFPERR_NODIR (-5029) /* couldn't find directory */
+#define AFPERR_ITYPE (-5030) /* wrong icon type */
+#define AFPERR_VLOCK (-5031) /* volume locked */
+#define AFPERR_OLOCK (-5032) /* object locked */
+#define AFPERR_CTNSHRD (-5033) /* share point contains a share point */
+#define AFPERR_NOID (-5034) /* file thread not found */
+#define AFPERR_EXISTID (-5035) /* file already has an id */
+#define AFPERR_DIFFVOL (-5036) /* different volume */
+#define AFPERR_CATCHNG (-5037) /* catalog has changed */
+#define AFPERR_SAMEOBJ (-5038) /* source file == destination file */
+#define AFPERR_BADID (-5039) /* non-existent file id */
+#define AFPERR_PWDSAME (-5040) /* same password/can't change password */
+#define AFPERR_PWDSHORT (-5041) /* password too short */
+#define AFPERR_PWDEXPR (-5042) /* password expired */
+#define AFPERR_INSHRD (-5043) /* folder being shared is inside a shared folder. may be returned by
afpMoveAndRename. */
-#define AFPERR_INTRASH -5044 /* shared folder in trash. */
-#define AFPERR_PWDCHNG -5045 /* password needs to be changed */
-#define AFPERR_PWDPOLCY -5046 /* password fails policy check */
-#define AFPERR_USRLOGIN -5047 /* user already logged on */
+#define AFPERR_INTRASH (-5044) /* shared folder in trash. */
+#define AFPERR_PWDCHNG (-5045) /* password needs to be changed */
+#define AFPERR_PWDPOLCY (-5046) /* password fails policy check */
+#define AFPERR_USRLOGIN (-5047) /* user already logged on */
extern const value_string asp_error_vals[];
extern const value_string afp_server_addr_type_vals[];