|
ngfd-plugin
|
Interface declaration structure. More...
#include <inputinterface.h>
Public Attributes | |
| const char * | name |
| Name of the interface. More... | |
| int(* | initialize )(NInputInterface *iface) |
| Initialization function. More... | |
| void(* | shutdown )(NInputInterface *iface) |
| Shutdown function. More... | |
| void(* | send_error )(NInputInterface *iface, NRequest *request, const char *err_msg) |
| Error sending function. More... | |
| void(* | send_reply )(NInputInterface *iface, NRequest *request, int ret_code) |
| Reply sending function. More... | |
Interface declaration structure.
| int(* _NInputInterfaceDecl::initialize) (NInputInterface *iface) |
Initialization function.
Called when input interface is loaded.
| iface | NInputInterface structure |
| const char* _NInputInterfaceDecl::name |
Name of the interface.
| void(* _NInputInterfaceDecl::send_error) (NInputInterface *iface, NRequest *request, const char *err_msg) |
Error sending function.
Called when error message needs to be sent to client
| iface | NInputInterface structure |
| request | Request which error is related to |
| err_msg | Error message |
| void(* _NInputInterfaceDecl::send_reply) (NInputInterface *iface, NRequest *request, int ret_code) |
Reply sending function.
Called when reply to request needs to be sent to client
| iface | NInputInterface structure |
| request | Request which reply is related to |
| ret_code | Return code to request |
| void(* _NInputInterfaceDecl::shutdown) (NInputInterface *iface) |
Shutdown function.
Called when input interface is removed.
| iface | NInputInterface structure |