Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: b509a068fc
Fetching contributors…

Cannot retrieve contributors at this time

executable file 44 lines (41 sloc) 0.759 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
#!/usr/bin/perl
use PLCB_ConfUtil;
BEGIN {
    PLCB_ConfUtil::env_from_tmpflags();
}

use ExtUtils::H2PM;
module "Couchbase::Client::Errors";
use_export;

include "sys/types.h";
include "libcouchbase/couchbase.h";
my @constant_basenames = qw(
SUCCESS
AUTH_CONTINUE
AUTH_ERROR
DELTA_BADVAL
E2BIG
EBUSY
EINTERNAL
EINVAL
ENOMEM
ERANGE
ERROR
ETMPFAIL
KEY_EEXISTS
KEY_ENOENT
LIBEVENT_ERROR
NETWORK_ERROR
NOT_MY_VBUCKET
NOT_STORED
NOT_SUPPORTED
UNKNOWN_COMMAND
UNKNOWN_HOST
PROTOCOL_ERROR
ETIMEDOUT
CONNECT_ERROR
BUCKET_ENOENT
);
foreach my $cbase (@constant_basenames) {
    constant('LIBCOUCHBASE_'.$cbase, name => 'COUCHBASE_'.$cbase);
}

write_output $ARGV[0];
Something went wrong with that request. Please try again.