ELinks 0.18.0
connection_state Struct Reference

Either an ELinks internal status code or an error code from the system. More...

#include <state.h>

Data Fields

connection_basic_state_T basic
 An ELinks internal status code, or S_ERRNO if this structure holds a system error instead.
 
int syserr
 When basic is S_ERRNO, syserr is the saved value of errno.
 

Detailed Description

Either an ELinks internal status code or an error code from the system.

Use connection_state() or connection_state_for_errno() to construct objects of this type.

Field Documentation

◆ basic

connection_basic_state_T connection_state::basic

An ELinks internal status code, or S_ERRNO if this structure holds a system error instead.


◆ syserr

int connection_state::syserr

When basic is S_ERRNO, syserr is the saved value of errno.

Otherwise, syserr should be 0.


The documentation for this struct was generated from the following file: