projects
/
rrq
/
rrqmisc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
initial test
[rrq/rrqmisc.git]
/
vector
/
itemkeyfun.h
diff --git
a/vector/itemkeyfun.h
b/vector/itemkeyfun.h
index 1089a163fbb3876f5cbd3945c0c9a07abd418d1c..7bbe62579d4313045aa1591ee44a27b692834010 100644
(file)
--- a/
vector/itemkeyfun.h
+++ b/
vector/itemkeyfun.h
@@
-1,6
+1,8
@@
#ifndef itemkeyfun_H
#define itemkeyfun_H
#ifndef itemkeyfun_H
#define itemkeyfun_H
+#include <stdio.h>
+
/**
* \struct itemkeyfun
*
/**
* \struct itemkeyfun
*
@@
-48,6
+50,12
@@
typedef struct {
*/
void (*releasekey)(SELF,void *key);
*/
void (*releasekey)(SELF,void *key);
+ /**
+ * This callback function writes a representation of an item into
+ * a character buffer.
+ */
+ int (*tostring)(SELF,void *item,char *buffer,int limit);
+
#undef SELF
} itemkeyfun;
#undef SELF
} itemkeyfun;