Referência ao ficheiro src/vapiIOCom.c

#include "vapiTypes.h"
#include "vapiIO.h"
#include "vapiOptions.h"
#include "vapiIOList.h"

Diagrama de dependências de inclusão para vapiIOCom.c:

Ir para o código fonte deste ficheiro.

Funções

vBooleanv_input_NULL_boolean (int IOindex)
int * v_input_str_int (int IOindex, const char *str)
vBoolean vIOCheckIO (vIOConfigured *IO, int IOtype, int InData, int OutData)
vBoolean vIOCheckList (int IOindex)


Documentação das funções

vBoolean* v_input_NULL_boolean ( int  IOindex  ) 

Definido na linha 57 do ficheiro vapiIOCom.c.

Referências GlobalIOListConfigured, v_list_get(), vBool, vInput, vIOCheckIO(), vIOCheckList() e vNULL.

Referenciado por vapiTeste().

00058 {
00059         vIOConfigured *IO;
00060 
00061         if (vIOCheckList (IOindex))
00062         {
00063                 return NULL;
00064         }
00065         IO = v_list_get (GlobalIOListConfigured, IOindex);
00066 
00067         if (vIOCheckIO (IO, vInput, vNULL, vBool))
00068         {
00069                 return NULL;
00070         }
00071 
00072         return IO->IO->IOFunc (IO->Options, NULL);
00073 }

Grafo de chamadas desta função:

Here is the caller graph for this function:

int* v_input_str_int ( int  IOindex,
const char *  str 
)

Definido na linha 38 do ficheiro vapiIOCom.c.

Referências GlobalIOListConfigured, v_list_get(), vInput, vInt, vIOCheckIO(), vIOCheckList() e vStr.

00039 {
00040         vIOConfigured *IO;
00041 
00042         if (vIOCheckList (IOindex))
00043         {
00044                 return NULL;
00045         }
00046         IO = v_list_get (GlobalIOListConfigured, IOindex);
00047 
00048         if (vIOCheckIO (IO, vInput, vStr, vInt))
00049         {
00050                 return NULL;
00051         }
00052 
00053         return IO->IO->IOFunc (IO->Options, (vpointer) str);
00054 }

Grafo de chamadas desta função:

vBoolean vIOCheckIO ( vIOConfigured IO,
int  IOtype,
int  InData,
int  OutData 
)

Definido na linha 21 do ficheiro vapiIOCom.c.

Referências _vIO::InData, _vIOConfigured::IO, _vIO::IOtype, _vIOConfigured::Options, _vIO::OptionsSettings, _vIO::OutData, vapiOptionsCheck(), vFALSE e vTRUE.

Referenciado por v_input_NULL_boolean() e v_input_str_int().

00022 {
00023         vapiOptionsCheck (IO->IO->OptionsSettings, IO->Options);
00024         if (IO->IO->IOtype != IOtype)
00025         {
00026                 return vTRUE;
00027         }
00028         if (IO->IO->InData == InData && IO->IO->OutData == OutData)
00029         {
00030                 return vFALSE;
00031         }
00032 
00033         return vTRUE;
00034 
00035 }

Grafo de chamadas desta função:

Here is the caller graph for this function:

vBoolean vIOCheckList ( int  IOindex  ) 

Definido na linha 7 do ficheiro vapiIOCom.c.

Referências GlobalIOListConfigured, v_list_count_elements(), vFALSE e vTRUE.

Referenciado por v_input_NULL_boolean() e v_input_str_int().

00008 {
00009         int ListSize;
00010 
00011         ListSize = v_list_count_elements (GlobalIOListConfigured);
00012         if (IOindex < ListSize)
00013         {
00014                 return vFALSE;
00015         }
00016         return vTRUE;
00017 
00018 }

Grafo de chamadas desta função:

Here is the caller graph for this function:


Gerado em Tue Jul 24 10:38:01 2007 para Vapi por  doxygen 1.5.1