e2fsprogs/e2fsck/prof_err.et
Theodore Ts'o 2fa9ba9833 Add the profile library code to e2fsck
The profile library was originally written by Theodore Ts'o in 1995
for use in the MIT Kerberos v5 library.  It has been
modified/enhanced/bug-fixed over time by other members of the MIT
Kerberos team.  This version was originally taken from the Kerberos
v5 distribution, version 1.4.2, and radically simplified for use in
e2fsprogs.  (Support for locking for multi-threaded operations,
being able to modify and update the configuration file
programmatically, and Mac/Windows portability have been removed.
It has been folded into a single C source file to make it easier to
fold into an application program.)

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2005-12-30 23:57:32 -05:00

67 lines
2.2 KiB
Plaintext

error_table prof
error_code PROF_VERSION, "Profile version 0.0"
#
# generated by prof_tree.c
#
error_code PROF_MAGIC_NODE, "Bad magic value in profile_node"
error_code PROF_NO_SECTION, "Profile section not found"
error_code PROF_NO_RELATION, "Profile relation not found"
error_code PROF_ADD_NOT_SECTION,
"Attempt to add a relation to node which is not a section"
error_code PROF_SECTION_WITH_VALUE,
"A profile section header has a non-zero value"
error_code PROF_BAD_LINK_LIST, "Bad linked list in profile structures"
error_code PROF_BAD_GROUP_LVL, "Bad group level in profile strctures"
error_code PROF_BAD_PARENT_PTR,
"Bad parent pointer in profile strctures"
error_code PROF_MAGIC_ITERATOR, "Bad magic value in profile iterator"
error_code PROF_SET_SECTION_VALUE, "Can't set value on section node"
error_code PROF_EINVAL, "Invalid argument passed to profile library"
error_code PROF_READ_ONLY, "Attempt to modify read-only profile"
#
# generated by prof_parse.c
#
error_code PROF_SECTION_NOTOP, "Profile section header not at top level"
error_code PROF_SECTION_SYNTAX, "Syntax error in profile section header"
error_code PROF_RELATION_SYNTAX, "Syntax error in profile relation"
error_code PROF_EXTRA_CBRACE, "Extra closing brace in profile"
error_code PROF_MISSING_OBRACE, "Missing open brace in profile"
#
# generated by prof_init.c
#
error_code PROF_MAGIC_PROFILE, "Bad magic value in profile_t"
error_code PROF_MAGIC_SECTION, "Bad magic value in profile_section_t"
error_code PROF_TOPSECTION_ITER_NOSUPP,
"Iteration through all top level section not supported"
error_code PROF_INVALID_SECTION, "Invalid profile_section object"
error_code PROF_END_OF_SECTIONS, "No more sections"
error_code PROF_BAD_NAMESET, "Bad nameset passed to query routine"
error_code PROF_NO_PROFILE, "No profile file open"
#
# generated by prof_file.c
#
error_code PROF_MAGIC_FILE, "Bad magic value in profile_file_t"
error_code PROF_FAIL_OPEN, "Couldn't open profile file"
#
# generated by prof_set.c
#
error_code PROF_EXISTS, "Section already exists"
#
# generated by prof_get.c
#
error_code PROF_BAD_BOOLEAN, "Invalid boolean value"
error_code PROF_BAD_INTEGER, "Invalid integer value"
error_code PROF_MAGIC_FILE_DATA, "Bad magic value in profile_file_data_t"
end