assh/assh_service.h header reference

Description  

This header file provides declarations related to the service module interface. Functions are provided to register services on a library assh_context_s object.

See also Core and modules and SSH services.

Members  

Types  

Functions  

Members detail  

struct assh_event_service_start_s  

This struct is declared in assh/assh_service.h source file, line 132.

The ASSH_EVENT_SERVICE_START event is reported when a service has started.

FieldDescription
const assh_service_s *const srv;A pointer to the module descriptor of the starting service. (ro)

union assh_event_service_u  

This union is declared in assh/assh_service.h source file, line 139.

This union contains all service related event structures.

assh_status_t assh_service_by_name(assh_context_s *c, size_t name_len, const char *name, const assh_service_s **srv_)  

This function is declared in assh/assh_service.h source file, line 174.

This function lookup a registered service by name.

assh_status_t assh_service_register(assh_context_s *c, assh_service_s *srv)  

This function is declared in assh/assh_service.h source file, line 147.

This function registers a single assh_service_s for use by the given context.

See also assh_service_register_va.

assh_status_t assh_service_register_default(assh_context_s *c)  

This function is declared in assh/assh_service.h source file, line 162.

This function registers the standard ssh-userauth and ssh-connection services. The appropriate client or server services are used depending on the context type.

assh_status_t assh_service_register_va(assh_context_s *c, ...)  

This function is declared in assh/assh_service.h source file, line 156.

This function registers one or more assh_service_s for use by the given context.

When registering service modules onto a client context, the registration order determines the order used to request execution of the services.

See also assh_service_register.

struct assh_service_s  

This struct is declared in assh/assh_service.h source file, line 118.

This struct is the service module descriptor. It can be registered on a assh_context_s instance for use by all associated sessions.

See also Core and modules and assh_service_register.

Valid XHTML 1.0 StrictGenerated by diaxen on Sun Sep 27 13:33:12 2020 using MkDoc