Current File : //usr/include/ipmp_admin.h
/*
 * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
 */

#ifndef _IPMP_ADMIN_H
#define	_IPMP_ADMIN_H

#include <ipmp.h>
#include <sys/types.h>

/*
 * IPMP administrative interfaces.
 *
 * These interfaces may only be used within ON or after signing a contract
 * with ON.  For documentation, refer to PSARC/2007/272.
 */

#ifdef __cplusplus
extern "C" {
#endif

extern int ipmp_offline(ipmp_handle_t, const char *, uint_t);
extern int ipmp_undo_offline(ipmp_handle_t, const char *);
extern int ipmp_ping_daemon(ipmp_handle_t);
extern int ipmp_is_svc_enabled(void);

#ifdef __cplusplus
}
#endif

#endif /* _IPMP_ADMIN_H */