diff options
author | RajithaY <rajithax.yerrumsetty@intel.com> | 2017-04-25 03:31:15 -0700 |
---|---|---|
committer | Rajitha Yerrumchetty <rajithax.yerrumsetty@intel.com> | 2017-05-22 06:48:08 +0000 |
commit | bb756eebdac6fd24e8919e2c43f7d2c8c4091f59 (patch) | |
tree | ca11e03542edf2d8f631efeca5e1626d211107e3 /qemu/roms/ipxe/src/include/readline/readline.h | |
parent | a14b48d18a9ed03ec191cf16b162206998a895ce (diff) |
Adding qemu as a submodule of KVMFORNFV
This Patch includes the changes to add qemu as a submodule to
kvmfornfv repo and make use of the updated latest qemu for the
execution of all testcase
Change-Id: I1280af507a857675c7f81d30c95255635667bdd7
Signed-off-by:RajithaY<rajithax.yerrumsetty@intel.com>
Diffstat (limited to 'qemu/roms/ipxe/src/include/readline/readline.h')
-rw-r--r-- | qemu/roms/ipxe/src/include/readline/readline.h | 57 |
1 files changed, 0 insertions, 57 deletions
diff --git a/qemu/roms/ipxe/src/include/readline/readline.h b/qemu/roms/ipxe/src/include/readline/readline.h deleted file mode 100644 index afafbbdf5..000000000 --- a/qemu/roms/ipxe/src/include/readline/readline.h +++ /dev/null @@ -1,57 +0,0 @@ -#ifndef _READLINE_H -#define _READLINE_H - -/** @file - * - * Minmal readline - * - */ - -FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); - -/** A readline history entry */ -struct readline_history_entry { - /** Persistent copy of string */ - char *string; - /** Temporary copy of string - * - * The temporary copy exists only during the call to - * readline(). - */ - char *temp; -}; - -/** Maximum depth of a readline history buffer - * - * Must be one less than a power of two. - */ -#define READLINE_HISTORY_MAX_DEPTH ( ( 1 << 3 ) - 1 ) - -/** A readline history buffer */ -struct readline_history { - /** History entries - * - * This is a circular buffer, with entries in chronological - * order. The "next" entry is always empty except during a - * call to readline(). - */ - struct readline_history_entry entries[READLINE_HISTORY_MAX_DEPTH + 1]; - /** Position of next entry within buffer - * - * This is incremented monotonically each time an entry is - * added to the buffer. - */ - unsigned int next; - /** Current depth within history buffer - * - * This is valid only during the call to readline() - */ - unsigned int depth; -}; - -extern void history_free ( struct readline_history *history ); -extern int readline_history ( const char *prompt, const char *prefill, - struct readline_history *history, char **line ); -extern char * __malloc readline ( const char *prompt ); - -#endif /* _READLINE_H */ |