glusterfs/gf-error-codes.h.template
Harshavardhana a3cb38e3ed build: MacOSX Porting fixes
git@forge.gluster.org:~schafdog/glusterfs-core/osx-glusterfs

Working functionality on MacOSX

 - GlusterD (management daemon)
 - GlusterCLI (management cli)
 - GlusterFS FUSE (using OSXFUSE)
 - GlusterNFS (without NLM - issues with rpc.statd)

Change-Id: I20193d3f8904388e47344e523b3787dbeab044ac
BUG: 1089172
Signed-off-by: Harshavardhana <harsha@harshavardhana.net>
Signed-off-by: Dennis Schafroth <dennis@schafroth.com>
Tested-by: Harshavardhana <harsha@harshavardhana.net>
Tested-by: Dennis Schafroth <dennis@schafroth.com>
Reviewed-on: http://review.gluster.org/7503
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
2014-04-24 14:41:48 -07:00

35 lines
932 B
Plaintext

/***************************************************************/
/** **/
/** DO NOT EDIT THIS FILE **/
/** THIS IS AUTO-GENERATED FROM LOG BOOK **/
/** YOUR CHANGES WILL BE LOST IN NEXT BUILD **/
/** **/
/***************************************************************/
#ifndef _GF_ERROR_CODES_H
#define _GF_ERROR_CODES_H
#ifdef HAVE_LIBINTL_H
#include <libintl.h>
#define _(STRING) gettext(STRING)
#endif
/** START: ERROR CODE DEFINITIONS **/
$DEFINES
/** END: ERROR CODE DEFINITIONS **/
/** START: FUNCTION RETURNS MESSAGE OF GIVEN ERROR CODE **/
const char *
_gf_get_message (int code) {
switch (code) {
$CASES
default: return NULL;
}
}
/** END: FUNCTION RETURNS MESSAGE OF GIVEN ERROR CODE **/
#endif