projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
libpayload: remove trailing whitespace and run dos2unix
[coreboot.git]
/
payloads
/
libpayload
/
curses
/
form
/
fty_enum.c
diff --git
a/payloads/libpayload/curses/form/fty_enum.c
b/payloads/libpayload/curses/form/fty_enum.c
index d3351644ef1849f2aa9de6dfd7ab31674cc08e8c..2fd96f0699ffc066edb7ee252df753c3678d1948 100644
(file)
--- a/
payloads/libpayload/curses/form/fty_enum.c
+++ b/
payloads/libpayload/curses/form/fty_enum.c
@@
-54,9
+54,9
@@
typedef struct
enumParams;
/*---------------------------------------------------------------------------
enumParams;
/*---------------------------------------------------------------------------
-| Facility : libnform
+| Facility : libnform
| Function : static void *Generic_Enum_Type(void * arg)
| Function : static void *Generic_Enum_Type(void * arg)
-|
+|
| Description : Allocate structure for enumeration type argument.
|
| Return Values : Pointer to argument structure or NULL on error
| Description : Allocate structure for enumeration type argument.
|
| Return Values : Pointer to argument structure or NULL on error
@@
-117,9
+117,9
@@
Generic_Enum_Type(void *arg)
}
/*---------------------------------------------------------------------------
}
/*---------------------------------------------------------------------------
-| Facility : libnform
+| Facility : libnform
| Function : static void *Make_Enum_Type( va_list * ap )
| Function : static void *Make_Enum_Type( va_list * ap )
-|
+|
| Description : Allocate structure for enumeration type argument.
|
| Return Values : Pointer to argument structure or NULL on error
| Description : Allocate structure for enumeration type argument.
|
| Return Values : Pointer to argument structure or NULL on error
@@
-137,10
+137,10
@@
Make_Enum_Type(va_list *ap)
}
/*---------------------------------------------------------------------------
}
/*---------------------------------------------------------------------------
-| Facility : libnform
+| Facility : libnform
| Function : static void *Copy_Enum_Type( const void * argp )
| Function : static void *Copy_Enum_Type( const void * argp )
-|
-| Description : Copy structure for enumeration type argument.
+|
+| Description : Copy structure for enumeration type argument.
|
| Return Values : Pointer to argument structure or NULL on error.
+--------------------------------------------------------------------------*/
|
| Return Values : Pointer to argument structure or NULL on error.
+--------------------------------------------------------------------------*/
@@
-181,9
+181,9
@@
Copy_Enum_Type(const void *argp)
}
/*---------------------------------------------------------------------------
}
/*---------------------------------------------------------------------------
-| Facility : libnform
+| Facility : libnform
| Function : static void Free_Enum_Type( void * argp )
| Function : static void Free_Enum_Type( void * argp )
-|
+|
| Description : Free structure for enumeration type argument.
|
| Return Values : -
| Description : Free structure for enumeration type argument.
|
| Return Values : -
@@
-218,11
+218,11
@@
Free_Enum_Type(void *argp)
#define EXACT 2
/*---------------------------------------------------------------------------
#define EXACT 2
/*---------------------------------------------------------------------------
-| Facility : libnform
-| Function : static int Compare(const unsigned char * s,
+| Facility : libnform
+| Function : static int Compare(const unsigned char * s,
| const unsigned char * buf,
| bool ccase )
| const unsigned char * buf,
| bool ccase )
-|
+|
| Description : Check whether or not the text in 'buf' matches the
| text in 's', at least partial.
|
| Description : Check whether or not the text in 'buf' matches the
| text in 's', at least partial.
|
@@
-273,11
+273,11
@@
Compare(const unsigned char *s, const unsigned char *buf,
}
/*---------------------------------------------------------------------------
}
/*---------------------------------------------------------------------------
-| Facility : libnform
+| Facility : libnform
| Function : static bool Check_Enum_Field(
| FIELD * field,
| const void * argp)
| Function : static bool Check_Enum_Field(
| FIELD * field,
| const void * argp)
-|
+|
| Description : Validate buffer content to be a valid enumeration value
|
| Return Values : TRUE - field is valid
| Description : Validate buffer content to be a valid enumeration value
|
| Return Values : TRUE - field is valid
@@
-330,10
+330,10
@@
static const char *dummy[] =
{(char *)0};
/*---------------------------------------------------------------------------
{(char *)0};
/*---------------------------------------------------------------------------
-| Facility : libnform
+| Facility : libnform
| Function : static bool Next_Enum(FIELD * field,
| const void * argp)
| Function : static bool Next_Enum(FIELD * field,
| const void * argp)
-|
+|
| Description : Check for the next enumeration value
|
| Return Values : TRUE - next value found and loaded
| Description : Check for the next enumeration value
|
| Return Values : TRUE - next value found and loaded
@@
-367,11
+367,11
@@
Next_Enum(FIELD *field, const void *argp)
}
/*---------------------------------------------------------------------------
}
/*---------------------------------------------------------------------------
-| Facility : libnform
+| Facility : libnform
| Function : static bool Previous_Enum(
| FIELD * field,
| const void * argp)
| Function : static bool Previous_Enum(
| FIELD * field,
| const void * argp)
-|
+|
| Description : Check for the previous enumeration value
|
| Return Values : TRUE - previous value found and loaded
| Description : Check for the previous enumeration value
|
| Return Values : TRUE - previous value found and loaded