From: Olivier Matz Date: Sun, 13 Mar 2011 17:29:11 +0000 (+0100) Subject: cmdline: add an opaque pointer in cmdline X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=22d956da1f3cacf93be5b5de406f41197449ca74;p=libcmdline.git cmdline: add an opaque pointer in cmdline this pointer is never modified by lib, it can be modified by the user to store some interresting value. Signed-off-by: Olivier Matz --- diff --git a/src/lib/cmdline.h b/src/lib/cmdline.h index 20321e8..7bed651 100644 --- 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; }; /**