/* Copyright (C) 1991-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it
and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later ver-
sion.
The GNU C Library is distributed in the hope that it will be
useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Pub-
lic
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */ /* This header is separate
from features.h so that the compiler can
include it implicitly at the start of every compilation. It
must
not itself include <features.h> or any other header that in-
cludes
<features.h> because the implicit include comes before any
feature
test macros that may be defined in a source file before it
first
explicitly includes a system header. GCC knows the name of
this
header in order to preinclude it. */ /* We do support the IEC
559 math functionality, real and complex. */ /* wchar_t uses
ISO
/IEC 10646 (2nd ed., published 2011-03-15) /
LIBIPMIDETECT(3) LIBIPMIDETECT LIBIPMIDETECT(3)
Unicode 6.0. */ /* We do not support C11 <threads.h>. */
NAME
libipmidetect - a library of functions to determine if a node is detected or undetected
SYNOPSIS
#include <ipmidetect.h>
ipmidetect_t ipmidetect_handle_create(void);
int ipmidetect_handle_destroy(ipmidetect_t handle);
int ipmidetect_load_data(ipmidetect_t handle, const char *hostname, int port, int timeout_len);
int ipmidetect_errnum(ipmidetect_t handle);
char *ipmidetect_strerror(int errnum);
char *ipmidetect_errormsg(int errnum);
void ipmidetect_perror(ipmidetect_t handle, const char *msg);
int ipmidetect_get_detected_nodes_string(ipmidetect_t handle, char *buf, int buflen);
int ipmidetect_get_undetected_nodes_string(ipmidetect_t handle, char *buf, int buflen);
int ipmidetect_is_node_detected(ipmidetect_t handle, const char *node);
int ipmidetect_is_node_undetected(ipmidetect_t handle, const char *node);
DESCRIPTION
Libipmidetect implements a high level API for determing which nodes in a cluster do or do-not support IPMI. This library is primarily use-
ful for detecting whe nodes are removed from a cluster for servicing, so that IPMI applications can avoid unnecessary timeouts. The
library interacts with the ipmidetectd(8) daemon.
FILES
/usr/include/ipmidetect.h
REPORTING BUGS
Report bugs to <freeipmi-users@gnu.org> or <freeipmi-devel@gnu.org>.
COPYRIGHT
Copyright (C) 2007-2012 Lawrence Livermore National Security, LLC.
Copyright (C) 2007 The Regents of the University of California.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
SEE ALSO
ipmidetect(8), ipmidetectd(8)
http://www.gnu.org/software/freeipmi/
LIBIPMIDETECT 1.2.9 2014-06-10 LIBIPMIDETECT(3)