1/* Generated from prof_err.et */ 2 3#include <stddef.h> 4#include <Heimdal/com_err.h> 5#include "prof_err.h" 6 7#define N_(x) (x) 8 9static const char *prof_error_strings[] = { 10 /* 000 */ N_("Profile version 0.0"), 11 /* 001 */ N_("Bad magic value in profile_node"), 12 /* 002 */ N_("Profile section not found"), 13 /* 003 */ N_("Profile relation not found"), 14 /* 004 */ N_("Attempt to add a relation to node which is not a section"), 15 /* 005 */ N_("A profile section header has a non-zero value"), 16 /* 006 */ N_("Bad linked list in profile structures"), 17 /* 007 */ N_("Bad group level in profile structures"), 18 /* 008 */ N_("Bad parent pointer in profile structures"), 19 /* 009 */ N_("Bad magic value in profile iterator"), 20 /* 010 */ N_("Can't set value on section node"), 21 /* 011 */ N_("Invalid argument passed to profile library"), 22 /* 012 */ N_("Attempt to modify read-only profile"), 23 /* 013 */ N_("Profile section header not at top level"), 24 /* 014 */ N_("Syntax error in profile section header"), 25 /* 015 */ N_("Syntax error in profile relation"), 26 /* 016 */ N_("Extra closing brace in profile"), 27 /* 017 */ N_("Missing open brace in profile"), 28 /* 018 */ N_("Bad magic value in profile_t"), 29 /* 019 */ N_("Bad magic value in profile_section_t"), 30 /* 020 */ N_("Iteration through all top level section not supported"), 31 /* 021 */ N_("Invalid profile_section object"), 32 /* 022 */ N_("No more sections"), 33 /* 023 */ N_("Bad nameset passed to query routine"), 34 /* 024 */ N_("No profile file open"), 35 /* 025 */ N_("Bad magic value in profile_file_t"), 36 /* 026 */ N_("Couldn't open profile file"), 37 /* 027 */ N_("Section already exists"), 38 /* 028 */ N_("Invalid boolean value"), 39 /* 029 */ N_("Invalid integer value"), 40 /* 030 */ N_("Bad magic value in profile_file_data_t"), 41 NULL 42}; 43 44#define num_errors 31 45 46void initialize_prof_error_table_r(struct et_list **list) 47{ 48 initialize_error_table_r(list, prof_error_strings, num_errors, ERROR_TABLE_BASE_prof); 49} 50 51void initialize_prof_error_table(void) 52{ 53 init_error_table(prof_error_strings, ERROR_TABLE_BASE_prof, num_errors); 54} 55