diff options
author | Stefan Metzmacher <metze@samba.org> | 2004-05-25 17:24:24 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:16 -0500 |
commit | f88bf54c7f6d1c2ef833047eb8327953c304b5ff (patch) | |
tree | 07da4ab8641b2200eaca5b5ea9adba26b0712277 /source4/utils | |
parent | f2ad98a165cdec6d344a96aeb21a38518a10720a (diff) | |
download | samba-f88bf54c7f6d1c2ef833047eb8327953c304b5ff.tar.gz samba-f88bf54c7f6d1c2ef833047eb8327953c304b5ff.tar.bz2 samba-f88bf54c7f6d1c2ef833047eb8327953c304b5ff.zip |
r889: convert samba4 to use [u]int16_t instead of [u]int16
metze
(This used to be commit af6f1f8a01bebbecd99bc8c066519e89966e65e3)
Diffstat (limited to 'source4/utils')
-rw-r--r-- | source4/utils/net_ads_cldap.c | 4 | ||||
-rw-r--r-- | source4/utils/net_rap.c | 28 | ||||
-rw-r--r-- | source4/utils/net_rpc.c | 4 |
3 files changed, 18 insertions, 18 deletions
diff --git a/source4/utils/net_ads_cldap.c b/source4/utils/net_ads_cldap.c index fd3ded8e82..d96154a94b 100644 --- a/source4/utils/net_ads_cldap.c +++ b/source4/utils/net_ads_cldap.c @@ -48,8 +48,8 @@ struct cldap_netlogon_reply { struct netlogon_string unk0; uint32_t version; - uint16 lmnt_token; - uint16 lm20_token; + uint16_t lmnt_token; + uint16_t lm20_token; }; /* diff --git a/source4/utils/net_rap.c b/source4/utils/net_rap.c index 3f6543629b..b78117b7ec 100644 --- a/source4/utils/net_rap.c +++ b/source4/utils/net_rap.c @@ -56,15 +56,15 @@ int net_rap_file_usage(int argc, const char **argv) /*************************************************************************** list info on an open file ***************************************************************************/ -static void file_fn(const char * pPath, const char * pUser, uint16 perms, - uint16 locks, uint32_t id) +static void file_fn(const char * pPath, const char * pUser, uint16_t perms, + uint16_t locks, uint32_t id) { d_printf("%-7.1d %-20.20s 0x%-4.2x %-6.1d %s\n", id, pUser, perms, locks, pPath); } -static void one_file_fn(const char *pPath, const char *pUser, uint16 perms, - uint16 locks, uint32_t id) +static void one_file_fn(const char *pPath, const char *pUser, uint16_t perms, + uint16_t locks, uint32_t id) { d_printf("File ID %d\n"\ "User name %s\n"\ @@ -265,8 +265,8 @@ int net_rap_session_usage(int argc, const char **argv) return -1; } -static void list_sessions_func(char *wsname, char *username, uint16 conns, - uint16 opens, uint16 users, uint32_t sess_time, +static void list_sessions_func(char *wsname, char *username, uint16_t conns, + uint16_t opens, uint16_t users, uint32_t sess_time, uint32_t idle_time, uint32_t user_flags, char *clitype) { int hrs = idle_time / 3600; @@ -278,7 +278,7 @@ static void list_sessions_func(char *wsname, char *username, uint16 conns, } static void display_session_func(const char *wsname, const char *username, - uint16 conns, uint16 opens, uint16 users, + uint16_t conns, uint16_t opens, uint16_t users, uint32_t sess_time, uint32_t idle_time, uint32_t user_flags, const char *clitype) { @@ -299,8 +299,8 @@ static void display_session_func(const char *wsname, const char *username, shrs, smin, ssec, ihrs, imin, isec); } -static void display_conns_func(uint16 conn_id, uint16 conn_type, uint16 opens, - uint16 users, uint32_t conn_time, +static void display_conns_func(uint16_t conn_id, uint16_t conn_type, uint16_t opens, + uint16_t users, uint32_t conn_time, const char *username, const char *netname) { d_printf("%-14.14s %-8.8s %5d\n", @@ -465,10 +465,10 @@ int net_rap_printq_usage(int argc, const char **argv) return -1; } -static void enum_queue(const char *queuename, uint16 pri, uint16 start, - uint16 until, const char *sep, const char *pproc, +static void enum_queue(const char *queuename, uint16_t pri, uint16_t start, + uint16_t until, const char *sep, const char *pproc, const char *dest, const char *qparms, - const char *qcomment, uint16 status, uint16 jobcount) + const char *qcomment, uint16_t status, uint16_t jobcount) { d_printf("%-17.17s Queue %5d jobs ", queuename, jobcount); @@ -491,9 +491,9 @@ static void enum_queue(const char *queuename, uint16 pri, uint16 start, } } -static void enum_jobs(uint16 jobid, const char *ownername, +static void enum_jobs(uint16_t jobid, const char *ownername, const char *notifyname, const char *datatype, - const char *jparms, uint16 pos, uint16 status, + const char *jparms, uint16_t pos, uint16_t status, const char *jstatus, unsigned int submitted, unsigned int jobsize, const char *comment) { diff --git a/source4/utils/net_rpc.c b/source4/utils/net_rpc.c index b4b11b4904..ce957f57e0 100644 --- a/source4/utils/net_rpc.c +++ b/source4/utils/net_rpc.c @@ -488,7 +488,7 @@ static NTSTATUS rpc_user_add_internals(const DOM_SID *domain_sid, struct cli_sta POLICY_HND connect_pol, domain_pol, user_pol; NTSTATUS result = NT_STATUS_UNSUCCESSFUL; const char *acct_name; - uint16 acb_info; + uint16_t acb_info; uint32_t unknown, user_rid; if (argc != 1) { @@ -1536,7 +1536,7 @@ static NTSTATUS rpc_trustdom_add_internals(const DOM_SID *domain_sid, struct cli POLICY_HND connect_pol, domain_pol, user_pol; NTSTATUS result = NT_STATUS_UNSUCCESSFUL; char *acct_name; - uint16 acb_info; + uint16_t acb_info; uint32_t unknown, user_rid; if (argc != 1) { |