summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-11-08 16:48:20 +0100
committerVolker Lendecke <vl@samba.org>2008-11-28 08:24:37 +0100
commit9a3be6f0f8e120797a02fa1be60b51812cfd86f5 (patch)
treed2fa5cd4e774e56a9fc000b611e5fce06da60996 /source3/include
parent738271fc2026b2911b7d20a73496989641714df3 (diff)
downloadsamba-9a3be6f0f8e120797a02fa1be60b51812cfd86f5.tar.gz
samba-9a3be6f0f8e120797a02fa1be60b51812cfd86f5.tar.bz2
samba-9a3be6f0f8e120797a02fa1be60b51812cfd86f5.zip
Move cli_trans_oob to lib/util.c
Rename it to trans_oob, it will be used in the server routines.
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 73be87b6fc..71f12a6844 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1251,6 +1251,7 @@ char *procid_str_static(const struct server_id *pid);
bool procid_valid(const struct server_id *pid);
bool procid_is_local(const struct server_id *pid);
int this_is_smp(void);
+bool trans_oob(uint32_t bufsize, uint32_t offset, uint32_t length);
bool is_offset_safe(const char *buf_base, size_t buf_len, char *ptr, size_t off);
char *get_safe_ptr(const char *buf_base, size_t buf_len, char *ptr, size_t off);
char *get_safe_str_ptr(const char *buf_base, size_t buf_len, char *ptr, size_t off);