assh/assh_service.h header reference

Description [link] 

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

See also Core and modules and SSH services.

Members [link] 

Types [link] 

Functions [link] 

Members detail [link] 

struct assh_event_service_start_s [link] 

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 struct assh_service_s *const srv;A pointer to the module descriptor of the starting service. (ro)

union assh_event_service_u [link] 

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

This union contains all service related event structures.

FieldDescription
struct assh_event_service_start_s start;

assh_status_t assh_service_by_name(struct assh_context_s *c, size_t name_len, const char *name, const struct assh_service_s **srv_) [link] 

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(struct assh_context_s *c, struct assh_service_s *srv) [link] 

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

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

See also assh_service_register_va.

assh_status_t assh_service_register_default(struct assh_context_s *c) [link] 

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(struct assh_context_s *c, ...) [link] 

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

This function registers one or more struct 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 [link] 

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 struct 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 Oct 25 23:30:45 2020 using MkDoc