From cfb680f0660169fe231c575cb2a0c7f72826f4f4 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 9 Mar 2005 17:27:17 +0000 Subject: Use uint32_t instead of long --- sdpd/sdpd.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sdpd/sdpd.h') diff --git a/sdpd/sdpd.h b/sdpd/sdpd.h index bc085c83..6d9c856a 100644 --- a/sdpd/sdpd.h +++ b/sdpd/sdpd.h @@ -61,7 +61,7 @@ int service_update_req(sdp_req_t *req, sdp_buf_t *rsp); int service_remove_req(sdp_req_t *req, sdp_buf_t *rsp); typedef struct { - long timestamp; + uint32_t timestamp; union { uint16_t maxBytesSent; uint16_t lastIndexSent; @@ -73,7 +73,7 @@ typedef struct { sdp_buf_t *sdp_get_cached_rsp(sdp_cont_state_t *cstate); void sdp_cstate_cache_init(void); void sdp_cstate_clean_buf(void); -long sdp_cstate_alloc_buf(sdp_buf_t *buf); +uint32_t sdp_cstate_alloc_buf(sdp_buf_t *buf); void sdp_svcdb_reset(void); void sdp_svcdb_collect_all(int sock); @@ -85,6 +85,6 @@ int sdp_record_remove(uint32_t handle); sdp_list_t *sdp_get_record_list(); uint32_t sdp_next_handle(void); -long sdp_get_time(); +uint32_t sdp_get_time(); #endif -- cgit