Changeset View
Changeset View
Standalone View
Standalone View
lib/libcasper/libcasper/libcasper.h
Show First 20 Lines • Show All 106 Lines • ▼ Show 20 Lines | |||||
*/ | */ | ||||
nvlist_t *cap_recv_nvlist(const cap_channel_t *chan, int flags); | nvlist_t *cap_recv_nvlist(const cap_channel_t *chan, int flags); | ||||
/* | /* | ||||
* Function sends the given nvlist, destroys it and receives new nvlist in | * Function sends the given nvlist, destroys it and receives new nvlist in | ||||
* response over the given capability. | * response over the given capability. | ||||
*/ | */ | ||||
nvlist_t *cap_xfer_nvlist(const cap_channel_t *chan, nvlist_t *nvl, int flags); | nvlist_t *cap_xfer_nvlist(const cap_channel_t *chan, nvlist_t *nvl, int flags); | ||||
/* Function tells do we have support of Casper or do we use mocked version. */ | |||||
bool cap_enable(const cap_channel_t *chan); | |||||
#endif /* !_LIBCASPER_H_ */ | #endif /* !_LIBCASPER_H_ */ |