Theodore Ts'o | 2fa9ba9 | 2005-12-30 23:57:32 -0500 | [diff] [blame] | 1 | error_table prof |
| 2 | |
| 3 | error_code PROF_VERSION, "Profile version 0.0" |
| 4 | |
| 5 | # |
| 6 | # generated by prof_tree.c |
| 7 | # |
| 8 | error_code PROF_MAGIC_NODE, "Bad magic value in profile_node" |
| 9 | error_code PROF_NO_SECTION, "Profile section not found" |
| 10 | error_code PROF_NO_RELATION, "Profile relation not found" |
| 11 | error_code PROF_ADD_NOT_SECTION, |
| 12 | "Attempt to add a relation to node which is not a section" |
| 13 | error_code PROF_SECTION_WITH_VALUE, |
| 14 | "A profile section header has a non-zero value" |
| 15 | error_code PROF_BAD_LINK_LIST, "Bad linked list in profile structures" |
| 16 | error_code PROF_BAD_GROUP_LVL, "Bad group level in profile strctures" |
| 17 | error_code PROF_BAD_PARENT_PTR, |
| 18 | "Bad parent pointer in profile strctures" |
| 19 | error_code PROF_MAGIC_ITERATOR, "Bad magic value in profile iterator" |
| 20 | error_code PROF_SET_SECTION_VALUE, "Can't set value on section node" |
| 21 | error_code PROF_EINVAL, "Invalid argument passed to profile library" |
| 22 | error_code PROF_READ_ONLY, "Attempt to modify read-only profile" |
| 23 | |
| 24 | # |
| 25 | # generated by prof_parse.c |
| 26 | # |
| 27 | |
| 28 | error_code PROF_SECTION_NOTOP, "Profile section header not at top level" |
| 29 | error_code PROF_SECTION_SYNTAX, "Syntax error in profile section header" |
| 30 | error_code PROF_RELATION_SYNTAX, "Syntax error in profile relation" |
| 31 | error_code PROF_EXTRA_CBRACE, "Extra closing brace in profile" |
| 32 | error_code PROF_MISSING_OBRACE, "Missing open brace in profile" |
| 33 | |
| 34 | # |
| 35 | # generated by prof_init.c |
| 36 | # |
| 37 | error_code PROF_MAGIC_PROFILE, "Bad magic value in profile_t" |
| 38 | error_code PROF_MAGIC_SECTION, "Bad magic value in profile_section_t" |
| 39 | error_code PROF_TOPSECTION_ITER_NOSUPP, |
| 40 | "Iteration through all top level section not supported" |
| 41 | error_code PROF_INVALID_SECTION, "Invalid profile_section object" |
| 42 | error_code PROF_END_OF_SECTIONS, "No more sections" |
| 43 | error_code PROF_BAD_NAMESET, "Bad nameset passed to query routine" |
| 44 | error_code PROF_NO_PROFILE, "No profile file open" |
| 45 | |
| 46 | # |
| 47 | # generated by prof_file.c |
| 48 | # |
| 49 | error_code PROF_MAGIC_FILE, "Bad magic value in profile_file_t" |
| 50 | error_code PROF_FAIL_OPEN, "Couldn't open profile file" |
| 51 | |
| 52 | # |
| 53 | # generated by prof_set.c |
| 54 | # |
| 55 | error_code PROF_EXISTS, "Section already exists" |
| 56 | |
| 57 | # |
| 58 | # generated by prof_get.c |
| 59 | # |
| 60 | error_code PROF_BAD_BOOLEAN, "Invalid boolean value" |
| 61 | error_code PROF_BAD_INTEGER, "Invalid integer value" |
| 62 | |
| 63 | error_code PROF_MAGIC_FILE_DATA, "Bad magic value in profile_file_data_t" |
| 64 | |
| 65 | |
| 66 | end |