mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[form] const value in init_submitted_value
This commit is contained in:
parent
7fc4be7689
commit
ac485a429d
@ -74,7 +74,7 @@ struct files_offset {
|
||||
/** @relates submitted_value */
|
||||
|
||||
struct submitted_value *
|
||||
init_submitted_value(const char *name, char *value, enum form_type type,
|
||||
init_submitted_value(const char *name, const char *value, enum form_type type,
|
||||
struct el_form_control *fc, int position)
|
||||
{
|
||||
struct submitted_value *sv;
|
||||
|
@ -112,7 +112,7 @@ struct submitted_value {
|
||||
int position;
|
||||
};
|
||||
|
||||
struct submitted_value *init_submitted_value(const char *name, char *value, enum form_type type, struct el_form_control *fc, int position);
|
||||
struct submitted_value *init_submitted_value(const char *name, const char *value, enum form_type type, struct el_form_control *fc, int position);
|
||||
void done_submitted_value(struct submitted_value *sv);
|
||||
void done_submitted_value_list(LIST_OF(struct submitted_value) *list);
|
||||
char *encode_crlf(struct submitted_value *sv);
|
||||
|
Loading…
Reference in New Issue
Block a user