repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dont just cast *enum_t to *uint32_t
[deb_libnfs.git]
/
include
/
libnfs-zdr.h
diff --git
a/include/libnfs-zdr.h
b/include/libnfs-zdr.h
index 660f3b187ce1aa643d5414f1cae8b2469f599646..c5794b6eca098ab55204f7199999fbdcf584729a 100644
(file)
--- a/
include/libnfs-zdr.h
+++ b/
include/libnfs-zdr.h
@@
-96,11
+96,11
@@
struct opaque_auth {
extern struct opaque_auth _null_auth;
extern struct opaque_auth _null_auth;
-
typedef struct
{
+
struct AUTH
{
struct opaque_auth ah_cred;
struct opaque_auth ah_verf;
caddr_t ah_private;
struct opaque_auth ah_cred;
struct opaque_auth ah_verf;
caddr_t ah_private;
-}
AUTH
;
+};
enum msg_type {
CALL=0,
enum msg_type {
CALL=0,
@@
-231,7
+231,7
@@
bool_t libnfs_zdr_u_quad_t(ZDR *zdrs, uint64_t *u);
bool_t libnfs_zdr_quad_t(ZDR *zdrs, int64_t *i);
#define zdr_enum libnfs_zdr_enum
bool_t libnfs_zdr_quad_t(ZDR *zdrs, int64_t *i);
#define zdr_enum libnfs_zdr_enum
-bool_t libnfs_zdr_enum(ZDR *zdrs,
int32
_t *e);
+bool_t libnfs_zdr_enum(ZDR *zdrs,
enum
_t *e);
#define zdr_bool libnfs_zdr_bool
bool_t libnfs_zdr_bool(ZDR *zdrs, bool_t *b);
#define zdr_bool libnfs_zdr_bool
bool_t libnfs_zdr_bool(ZDR *zdrs, bool_t *b);
@@
-267,15
+267,15
@@
bool_t libnfs_zdr_callmsg(ZDR *zdrs, struct rpc_msg *msg);
bool_t libnfs_zdr_replymsg(ZDR *zdrs, struct rpc_msg *msg);
#define authnone_create libnfs_authnone_create
bool_t libnfs_zdr_replymsg(ZDR *zdrs, struct rpc_msg *msg);
#define authnone_create libnfs_authnone_create
-AUTH *libnfs_authnone_create(void);
+
struct
AUTH *libnfs_authnone_create(void);
#define authunix_create libnfs_authunix_create
#define authunix_create libnfs_authunix_create
-AUTH *libnfs_authunix_create(char *host, uint32_t uid, uint32_t gid, uint32_t len, uint32_t *groups);
+
struct
AUTH *libnfs_authunix_create(char *host, uint32_t uid, uint32_t gid, uint32_t len, uint32_t *groups);
#define authunix_create_default libnfs_authunix_create_default
#define authunix_create_default libnfs_authunix_create_default
-AUTH *libnfs_authunix_create_default(void);
+
struct
AUTH *libnfs_authunix_create_default(void);
#define auth_destroy libnfs_auth_destroy
#define auth_destroy libnfs_auth_destroy
-void libnfs_auth_destroy(AUTH *auth);
+void libnfs_auth_destroy(
struct
AUTH *auth);
#endif
#endif