Go to the source code of this file.
The module connection contains data types and functions which are used idn socket-based connections. A connection consists of a file descriptor and an authentication status. The authentication status is true (=1) if a password authentication was successful within this connection. Password authentication may or may not be needed, depending on the operation (read/write) and the configuration (see AuthMode).
|
Authentication mode. The authentication mode says when password authentication is needed. Autoproc knows three modes: no authentication, authentication required for active operations, and authentication always required. |
|
Check for correct authentication. This function returns 1 if either this connection has been authenticated or no authentication is needed for the given level. |
|
Prints a message to a connection's file desciptor.
|
|
Prints a message to a connection's file desciptor.
|