Displaying 4 results from an estimated 4 matches for "message_number".
2011 Apr 01
0
[GIT PULL] elflink cmdline
...for (me = all_entries; me; me = me->next ) {
+ if (!strncmp(prefix, me->label, len))
+ printf(" %s\n", me->label);
+ }
+}
+
static struct menu_entry *find_label(const char *str)
{
const char *p;
@@ -606,6 +618,78 @@ static char *is_message_name(char *cmdstr, enum message_number *msgnr)
return NULL;
}
+static int cat_file(const char *filename)
+{
+ FILE *f;
+ char line[2048];
+
+ f = fopen(filename, "r");
+ if (!f)
+ return -1;
+
+ while (fgets(line, sizeof(line), f) != NULL)
+ printf("%s", line);
+
+ fclose(f);
+ return 0;
+}
+
+void cat_help...
2010 Apr 23
1
Path simple menu integrated progress indicator
...:24:25.000000000 -0500
+++ syslinux-3.86/com32/menu/menu.h 2010-04-15 10:08:01.000000000 -0500
@@ -97,6 +97,7 @@ enum parameter_number {
P_PASSWD_MARGIN,
P_MENU_ROWS,
P_TABMSG_ROW,
+ P_LOADMSG_ROW,
P_CMDLINE_ROW,
P_END_ROW,
P_PASSWD_ROW,
@@ -115,6 +116,7 @@ enum message_number {
MSG_TITLE,
MSG_AUTOBOOT,
MSG_TAB,
+ MSG_LOAD,
MSG_NOTAB,
MSG_PASSPROMPT,
@@ -188,6 +190,7 @@ int draw_background(const char *filename
void set_resolution(int x, int y);
void start_console(void);
void local_cursor_enable(bool);
+void draw_progress(const char *file,...
2011 Mar 09
14
[PATCH 00/12] elflink shrinkage
From: Matt Fleming <matt.fleming at linux.intel.com>
This is a series of patches that,
* shrink the core by moving things into an ldlinux ELF module
* begin wiring up some of the C versions of various functions
The core now only contains essential code and loads the ldlinux module
to do everything else, like providing a command line interface and
loading kernels.
The config file parsing
2011 Apr 16
20
[PATCH 00/20] Switch to ELF modules
From: Matt Fleming <matt.fleming at linux.intel.com>
This series fixes some bugs and switches the elflink branch to be
entirely ELF modules. It applies on top of,
http://syslinux.zytor.com/archives/2011-April/016369.html
The deletions in the diff stat below are mainly from deleting
com32/elflink/modules (finally!). Now there should be no duplicate
code because we don't need COM32 and