2 * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
3 * Use is subject to license terms.
6 #pragma ident "%Z%%M% %I% %E% SMI"
10 prof_error_table(long errorno
) {
14 return(dgettext(TEXT_DOMAIN
,
15 "Profile version 0.0"));
17 return(dgettext(TEXT_DOMAIN
,
18 "Bad magic value in profile_node"));
20 return(dgettext(TEXT_DOMAIN
,
21 "Profile section not found"));
23 return(dgettext(TEXT_DOMAIN
,
24 "Profile relation not found"));
26 return(dgettext(TEXT_DOMAIN
,
27 "Attempt to add a relation to node which is not a section"));
29 return(dgettext(TEXT_DOMAIN
,
30 "A profile section header has a non-zero value"));
32 return(dgettext(TEXT_DOMAIN
,
33 "Bad linked list in profile structures"));
35 return(dgettext(TEXT_DOMAIN
,
36 "Bad group level in profile structures"));
38 return(dgettext(TEXT_DOMAIN
,
39 "Bad parent pointer in profile structures"));
41 return(dgettext(TEXT_DOMAIN
,
42 "Bad magic value in profile iterator"));
44 return(dgettext(TEXT_DOMAIN
,
45 "Can't set value on section node"));
47 return(dgettext(TEXT_DOMAIN
,
48 "Invalid argument passed to profile library"));
50 return(dgettext(TEXT_DOMAIN
,
51 "Attempt to modify read-only profile"));
53 return(dgettext(TEXT_DOMAIN
,
54 "Profile section header not at top level"));
56 return(dgettext(TEXT_DOMAIN
,
57 "Syntax error in profile section header"));
59 return(dgettext(TEXT_DOMAIN
,
60 "Syntax error in profile relation"));
62 return(dgettext(TEXT_DOMAIN
,
63 "Extra closing brace in profile"));
65 return(dgettext(TEXT_DOMAIN
,
66 "Missing open brace in profile"));
68 return(dgettext(TEXT_DOMAIN
,
69 "Bad magic value in profile_t"));
71 return(dgettext(TEXT_DOMAIN
,
72 "Bad magic value in profile_section_t"));
74 return(dgettext(TEXT_DOMAIN
,
75 "Iteration through all top level section not supported"));
77 return(dgettext(TEXT_DOMAIN
,
78 "Invalid profile_section object"));
80 return(dgettext(TEXT_DOMAIN
,
83 return(dgettext(TEXT_DOMAIN
,
84 "Bad nameset passed to query routine"));
86 return(dgettext(TEXT_DOMAIN
,
87 "No profile file open"));
89 return(dgettext(TEXT_DOMAIN
,
90 "Bad magic value in profile_file_t"));
92 return(dgettext(TEXT_DOMAIN
,
93 "Couldn't open profile file"));
95 return(dgettext(TEXT_DOMAIN
,
96 "Section already exists"));
98 return(dgettext(TEXT_DOMAIN
,
99 "Invalid boolean value"));
101 return(dgettext(TEXT_DOMAIN
,
102 "Invalid integer value"));
104 return(dgettext(TEXT_DOMAIN
,
105 "Bad magic value in profile_file_data_t"));
107 return("unknown error");