diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2011-03-07 15:59:00 +0100 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2011-03-07 15:59:00 +0100 |
commit | 4af44e92c689fe442dddbf6e18e2731e2d479c5a (patch) | |
tree | 092d3ae90632ed49fd64c6cb03111db1b7ca897a | |
parent | 507caa094b0ecfe4f6f6a829887712d7c8174ae2 (diff) | |
download | abrt-4af44e92c689fe442dddbf6e18e2731e2d479c5a.tar.gz abrt-4af44e92c689fe442dddbf6e18e2731e2d479c5a.tar.xz abrt-4af44e92c689fe442dddbf6e18e2731e2d479c5a.zip |
event_xml_parser: string fields shouldn't be const, moved name and value higher in the structure
-rw-r--r-- | src/include/report/event_xml_parser.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/include/report/event_xml_parser.h b/src/include/report/event_xml_parser.h index 47852c67..c6bda9d5 100644 --- a/src/include/report/event_xml_parser.h +++ b/src/include/report/event_xml_parser.h @@ -22,21 +22,21 @@ typedef enum */ typedef struct { - const char* label; - const char* name; //name of the value which should be used for env variable + char *name; //name of the value which should be used for env variable char *value; + char *label; option_type_t type; - const char* description; //can be used as tooltip in gtk app - const char* allowed_value; + char *description; //can be used as tooltip in gtk app + char *allowed_value; int required; } event_option_obj_t; //structure to hold the option data typedef struct { - const char *name; //name of the event "Bugzilla" "RedHat Support Uploader" - const char *title; //window title - not used right now, maybe the "name" is enough? - const char *action;//action description to show in gui like: Upload report to the Red Hat bugzilla" + char *name; //name of the event "Bugzilla" "RedHat Support Uploader" + char *title; //window title - not used right now, maybe the "name" is enough? + char *action;//action description to show in gui like: Upload report to the Red Hat bugzilla" GList *options; } event_obj_t; |