1LIBIPMIDETECT(3) LIBIPMIDETECT LIBIPMIDETECT(3)
2
3
4
6 libipmidetect - a library of functions to determine if a node is
7 detected or undetected
8
10 #include <ipmidetect.h>
11
12 ipmidetect_t ipmidetect_handle_create(void);
13
14 int ipmidetect_handle_destroy(ipmidetect_t handle);
15
16 int ipmidetect_load_data(ipmidetect_t handle, const char *hostname, int
17 port, int timeout_len);
18
19 int ipmidetect_errnum(ipmidetect_t handle);
20
21 char *ipmidetect_strerror(int errnum);
22
23 char *ipmidetect_errormsg(int errnum);
24
25 void ipmidetect_perror(ipmidetect_t handle, const char *msg);
26
27 int ipmidetect_get_detected_nodes_string(ipmidetect_t handle, char
28 *buf, int buflen);
29
30 int ipmidetect_get_undetected_nodes_string(ipmidetect_t handle, char
31 *buf, int buflen);
32
33 int ipmidetect_is_node_detected(ipmidetect_t handle, const char *node);
34
35 int ipmidetect_is_node_undetected(ipmidetect_t handle, const char
36 *node);
37
39 Libipmidetect implements a high level API for determing which nodes in
40 a cluster do or do-not support IPMI. This library is primarily useful
41 for detecting whe nodes are removed from a cluster for servicing, so
42 that IPMI applications can avoid unnecessary timeouts. The library
43 interacts with the ipmidetectd(8) daemon.
44
45
47 /usr/include/ipmidetect.h
48
50 Report bugs to <freeipmi-users@gnu.org> or <freeipmi-devel@gnu.org>.
51
53 Copyright (C) 2007-2012 Lawrence Livermore National Security, LLC.
54 Copyright (C) 2007 The Regents of the University of California.
55
56 This library is free software; you can redistribute it and/or modify it
57 under the terms of the GNU General Public License as published by the
58 Free Software Foundation; either version 3 of the License, or (at your
59 option) any later version.
60
62 ipmidetect(8), ipmidetectd(8)
63
64 http://www.gnu.org/software/freeipmi/
65
66
67
68LIBIPMIDETECT 1.2.1 2017-03-22 LIBIPMIDETECT(3)