Gammu internals  1.38.0
GSM_Device Struct Reference

#include <gsmstate.h>

Collaboration diagram for GSM_Device:

Data Fields

union {
   char   fake
 
   GSM_Device_ProxyData   Proxy
 
Data
 
GSM_Device_FunctionsFunctions
 

Detailed Description

Structure containing device specific data and pointer to device functions - GSM_Device_Functions. The data are in a union, so you can use only one device at one time.

Definition at line 295 of file gsmstate.h.

Field Documentation

§ Data

union { ... } GSM_Device::Data

§ fake

char GSM_Device::fake

Fake memeber to ensure union has always at least one member.

Definition at line 300 of file gsmstate.h.

§ Functions

GSM_Device_Functions* GSM_Device::Functions

Functions for currently used device.

Definition at line 335 of file gsmstate.h.

Referenced by GSM_CloseConnection(), GSM_OpenConnection(), GSM_ReadDevice(), GSM_RegisterAllConnections(), and GSM_RegisterConnection().

§ Proxy

GSM_Device_ProxyData GSM_Device::Proxy

Data for shell proxy.

Definition at line 329 of file gsmstate.h.

Referenced by proxy_close(), proxy_open(), proxy_read(), and proxy_write().


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