diff options
author | Guy Harris <guy@alum.mit.edu> | 2009-03-18 23:30:21 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2009-03-18 23:30:21 +0000 |
commit | 987e12f4351157570fde01e8000daafe7e5a6adf (patch) | |
tree | 49f68287a7768f65c4699ca8fab16d4b8dabcf9a /epan/dissectors/packet-afp.h | |
parent | 4932b881f22b59d43230a59b4be37e8f96db8f4c (diff) |
Clean up indentation.
Note that -5047 can also mean "disk quota exceeded".
Define the ASP errors as 32-bit (negative) numbers, just like the AFP
errors.
Add a couple of ASP errors to the list of error values.
svn path=/trunk/; revision=27792
Diffstat (limited to 'epan/dissectors/packet-afp.h')
-rw-r--r-- | epan/dissectors/packet-afp.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/epan/dissectors/packet-afp.h b/epan/dissectors/packet-afp.h index 4420351af3..632ed73d76 100644 --- a/epan/dissectors/packet-afp.h +++ b/epan/dissectors/packet-afp.h @@ -25,7 +25,7 @@ #ifndef PACKET_AFP_H #define PACKET_AFP_H -#define AFP_OK 0 +#define AFP_OK 0 #define AFPERR_ACCESS (-5000) /* permission denied */ #define AFPERR_AUTHCONT (-5001) /* logincont */ #define AFPERR_BADUAM (-5002) /* uam doesn't exist */ @@ -35,8 +35,8 @@ #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_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 */ @@ -50,7 +50,7 @@ #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_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 */ @@ -75,6 +75,7 @@ #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 */ + /* also disk quota exceeded? */ extern const value_string asp_error_vals[]; extern const value_string afp_server_addr_type_vals[]; |