1LIBIPMIDETECT(3)                 LIBIPMIDETECT                LIBIPMIDETECT(3)
2
3
4

NAME

6       libipmidetect  -  a  library  of  functions  to  determine if a node is
7       detected or undetected
8

SYNOPSIS

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

DESCRIPTION

39       Libipmidetect implements a high level API for determining  which  nodes
40       in  a cluster do or do-not support IPMI. This library is primarily use‐
41       ful for detecting when nodes are removed from a cluster for  servicing,
42       so  that IPMI applications can avoid unnecessary timeouts.  The library
43       interacts with the ipmidetectd(8) daemon.
44

FILES

46       /usr/include/ipmidetect.h
47

REPORTING BUGS

49       Report bugs to <freeipmi-users@gnu.org> or <freeipmi-devel@gnu.org>.
50
52       Copyright (C) 2007-2015 Lawrence Livermore National Security, LLC.
53       Copyright (C) 2007 The Regents of the University of California.
54
55       This library is free software; you can redistribute it and/or modify it
56       under  the  terms of the GNU General Public License as published by the
57       Free Software Foundation; either version 3 of the License, or (at  your
58       option) any later version.
59

SEE ALSO

61       ipmidetect(8), ipmidetectd(8)
62
63       http://www.gnu.org/software/freeipmi/
64
65
66
67LIBIPMIDETECT 1.6.7               2021-02-12                  LIBIPMIDETECT(3)
Impressum