Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:openSUSE:Factory:rpmlint
multipath-tools
libmpathpersist-example.c
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libmpathpersist-example.c of Package multipath-tools
/* * This is a minimal skeleton for code using libmpathpersist. * Compile with "-lmpathpersist -lmultipath -lmpathcmd". * * Header files for libmultipath are intentionally not included * in the multipath-tools-devel package, because libmultipath has * no well defined API for external programs at this time. * * With multipath-tools 0.8.6, the sample program can be drastically * simplified, see below. Compare with libmpathpersist-example-old.c * for 0.8.5 and older. Note that the old code can still be used. */ #include <mpath_persist.h> #include <libudev.h> struct config *conf; int main(void) { conf = mpath_lib_init(); if(!conf) { return 1; } return 0; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor