~ubuntu-branches/ubuntu/trusty/libprelude/trusty

« back to all changes in this revision

Viewing changes to src/libprelude-error/err-codes.h

  • Committer: Bazaar Package Importer
  • Author(s): Pierre Chifflier
  • Date: 2008-04-28 15:23:30 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20080428152330-su7zlfscjjeh30ig
Tags: 0.9.17.1-1
New upstream release (remove debug output)

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
  gettext_noop ("TLS layer returned a fatal alert") "\0"
79
79
  gettext_noop ("IDMEF child is not a class") "\0"
80
80
  gettext_noop ("Critical assertion occurred") "\0"
 
81
  gettext_noop ("Reference operation unavailable for specified IDMEF type") "\0"
81
82
  gettext_noop ("Unknown system error") "\0"
82
83
  gettext_noop ("Unknown error code");
83
84
 
137
138
    1734,
138
139
    1761,
139
140
    1789,
140
 
    1810
 
141
    1846,
 
142
    1867
141
143
  };
142
144
 
143
145
#define msgidxof(code) (0 ? -1 \
144
146
  : ((code >= 0) && (code <= 6)) ? (code - 0) \
145
147
  : ((code >= 8) && (code <= 8)) ? (code - 1) \
146
148
  : ((code >= 16) && (code <= 53)) ? (code - 8) \
147
 
  : ((code >= 55) && (code <= 61)) ? (code - 9) \
148
 
  : ((code >= 16382) && (code <= 16382)) ? (code - 16329) \
149
 
  : 16383 - 16329)
 
149
  : ((code >= 55) && (code <= 62)) ? (code - 9) \
 
150
  : ((code >= 16382) && (code <= 16382)) ? (code - 16328) \
 
151
  : 16383 - 16328)