//////////////////////// \brief CreateInterface (service, name, msgSize) - Create a new interface Create a new interface. Interfaces allow clients to open connections to a service \param service (handle_t) Handle ID of the service hosting the interface \param name (const char*) Name of the interface, \param msgSize (uint16_t) Maximum message size for all connections \return Handle ID of service
| 33 | /// \return Handle ID of service on success, negative error code on failure |
| 34 | ///////////////////////////// |
| 35 | inline handle_t CreateInterface(const handle_t svc, const char* name, const uint16_t msgSize){ |
| 36 | return syscall(SYS_CREATE_INTERFACE, svc, name, msgSize); |
| 37 | } |
| 38 | |
| 39 | ///////////////////////////// |
| 40 | /// \brief InterfaceAccept (interface) - Accept connections on an interface |