#ifndef HAVE_REPLICATION_THREADS
#include "db_config.h"
#include "db_int.h"
static int __db_norepmgr __P((DB_ENV *));
static int
__db_norepmgr(dbenv)
DB_ENV *dbenv;
{
__db_errx(dbenv->env, DB_STR("3628",
"library build did not include support for the Replication Manager"));
return (DB_OPNOTSUP);
}
int
__repmgr_close(env)
ENV *env;
{
COMPQUIET(env, NULL);
return (0);
}
int
__repmgr_get_ack_policy(dbenv, policy)
DB_ENV *dbenv;
int *policy;
{
COMPQUIET(policy, NULL);
return (__db_norepmgr(dbenv));
}
int
__repmgr_set_ack_policy(dbenv, policy)
DB_ENV *dbenv;
int policy;
{
COMPQUIET(policy, 0);
return (__db_norepmgr(dbenv));
}
int
__repmgr_site(dbenv, host, port, dbsitep, flags)
DB_ENV *dbenv;
const char *host;
u_int port;
DB_SITE **dbsitep;
u_int32_t flags;
{
COMPQUIET(host, NULL);
COMPQUIET(port, 0);
COMPQUIET(dbsitep, NULL);
COMPQUIET(flags, 0);
return (__db_norepmgr(dbenv));
}
int
__repmgr_site_by_eid(dbenv, eid, dbsitep)
DB_ENV *dbenv;
int eid;
DB_SITE **dbsitep;
{
COMPQUIET(eid, 0);
COMPQUIET(dbsitep, NULL);
return (__db_norepmgr(dbenv));
}
int
__repmgr_local_site(dbenv, dbsitep)
DB_ENV *dbenv;
DB_SITE **dbsitep;
{
COMPQUIET(dbsitep, NULL);
return (__db_norepmgr(dbenv));
}
int
__repmgr_site_list(dbenv, countp, listp)
DB_ENV *dbenv;
u_int *countp;
DB_REPMGR_SITE **listp;
{
COMPQUIET(countp, NULL);
COMPQUIET(listp, NULL);
return (__db_norepmgr(dbenv));
}
int
__repmgr_start(dbenv, nthreads, flags)
DB_ENV *dbenv;
int nthreads;
u_int32_t flags;
{
COMPQUIET(nthreads, 0);
COMPQUIET(flags, 0);
return (__db_norepmgr(dbenv));
}
int
__repmgr_stat_pp(dbenv, statp, flags)
DB_ENV *dbenv;
DB_REPMGR_STAT **statp;
u_int32_t flags;
{
COMPQUIET(statp, NULL);
COMPQUIET(flags, 0);
return (__db_norepmgr(dbenv));
}
int
__repmgr_stat_print_pp(dbenv, flags)
DB_ENV *dbenv;
u_int32_t flags;
{
COMPQUIET(flags, 0);
return (__db_norepmgr(dbenv));
}
int
__repmgr_handle_event(env, event, info)
ENV *env;
u_int32_t event;
void *info;
{
COMPQUIET(env, NULL);
COMPQUIET(event, 0);
COMPQUIET(info, NULL);
return (DB_EVENT_NOT_HANDLED);
}
int
__repmgr_channel(dbenv, eid, dbchannelp, flags)
DB_ENV *dbenv;
int eid;
DB_CHANNEL **dbchannelp;
u_int32_t flags;
{
COMPQUIET(eid, 0);
COMPQUIET(dbchannelp, NULL);
COMPQUIET(flags, 0);
return (__db_norepmgr(dbenv));
}
int
__repmgr_set_msg_dispatch(dbenv, dispatch, flags)
DB_ENV *dbenv;
void (*dispatch) __P((DB_ENV *,
DB_CHANNEL *, DBT *, u_int32_t, u_int32_t));
u_int32_t flags;
{
COMPQUIET(dispatch, NULL);
COMPQUIET(flags, 0);
return (__db_norepmgr(dbenv));
}
int
__repmgr_init_recover(env, dtabp)
ENV *env;
DB_DISTAB *dtabp;
{
COMPQUIET(env, NULL);
COMPQUIET(dtabp, NULL);
return (0);
}
#endif