git.droids-corp.org
/
libcmdline.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
976ccde
)
cmdline: add an opaque pointer in cmdline
author
Olivier Matz
<zer0@droids-corp.org>
Sun, 13 Mar 2011 17:29:11 +0000
(18:29 +0100)
committer
Olivier Matz
<zer0@droids-corp.org>
Sun, 13 Mar 2011 17:29:11 +0000
(18:29 +0100)
this pointer is never modified by lib, it can be modified by the user
to store some interresting value.
Signed-off-by: Olivier Matz <zer0@droids-corp.org>
src/lib/cmdline.h
patch
|
blob
|
history
diff --git
a/src/lib/cmdline.h
b/src/lib/cmdline.h
index
20321e8
..
7bed651
100644
(file)
--- a/
src/lib/cmdline.h
+++ b/
src/lib/cmdline.h
@@
-73,6
+73,7
@@
struct cmdline {
#ifdef CMDLINE_TERMIOS
struct termios oldterm;
#endif
+ void *opaque;
};
/**