summaryrefslogtreecommitdiff
path: root/lib/util/util.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-10-24 15:23:41 +0200
committerVolker Lendecke <vlendec@samba.org>2010-10-24 20:46:28 +0000
commit611bcfcb49f3a17ac7a1b866b2ea04806c7c1b40 (patch)
tree2a0a7f5003be6e954542e93ba6e1ab119765e096 /lib/util/util.h
parent9e7bcaab2dc9a73c8251431fa4573d1d1ba32561 (diff)
downloadsamba-611bcfcb49f3a17ac7a1b866b2ea04806c7c1b40.tar.gz
Add print_asc_cb()
Diffstat (limited to 'lib/util/util.h')
-rw-r--r--lib/util/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/util/util.h b/lib/util/util.h
index c613e65adf9..261acea88c9 100644
--- a/lib/util/util.h
+++ b/lib/util/util.h
@@ -840,6 +840,9 @@ bool pm_process( const char *fileName,
bool unmap_file(void *start, size_t size);
void print_asc(int level, const uint8_t *buf,int len);
+void print_asc_cb(const uint8_t *buf, int len,
+ void (*cb)(const char *buf, void *private_data),
+ void *private_data);
/**
* Add an id to an array of ids.