Changeset View
Changeset View
Standalone View
Standalone View
lib/libcasper/libcasper/libcasper.h
Show First 20 Lines • Show All 275 Lines • ▼ Show 20 Lines | |||||
cap_xfer_nvlist(const cap_channel_t *chan, nvlist_t *nvl) | cap_xfer_nvlist(const cap_channel_t *chan, nvlist_t *nvl) | ||||
{ | { | ||||
nvlist_destroy(nvl); | nvlist_destroy(nvl); | ||||
return (nvlist_create(channel_nvlist_flags(chan))); | return (nvlist_create(channel_nvlist_flags(chan))); | ||||
} | } | ||||
#endif | #endif | ||||
#ifdef WITH_CASPER | |||||
int cap_close_stdio(const cap_channel_t *chan); | |||||
#else | |||||
#define cap_close_stdio(chan) (0) | |||||
#endif | |||||
__END_DECLS | __END_DECLS | ||||
#endif /* !_LIBCASPER_H_ */ | #endif /* !_LIBCASPER_H_ */ |