#ifndef _trans_fd_shm_h_ #define _trans_fd_shm_h_ #ifndef HIDDENAPI #define HIDDENAPI __attribute__((visibility("hidden"))) #endif #ifdef __cplusplus extern "C" { #endif // send fds int sendfd(int conn, int fd[], int fds); // recv fds, fd pre-allocated buffer, fds buffer size int recvfd(int conn, int fd[], int fds); #ifdef __cplusplus } #endif #endif