Changes between Version 10 and Version 11 of ObjectDeveloperGuide

Show
Ignore:
Timestamp:
05/11/09 18:38:39 (16 years ago)
Author:
ismael (IP: 192.168.4.1)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ObjectDeveloperGuide

    v10 v11  
    143143 */ 
    144144 
     145#define INPUTITF_NAME "input" 
     146 
    145147#define INPUT_MAX_DATA  1024     
    146148#define INPUT_MIN_DATA  128 
     
    163165 *  Description: Output stream of data 
    164166 */ 
     167 
     168#define OUTPUTITF_NAME "output" 
    165169 
    166170#define OUTPUT_MAX_DATA 2048     
     
    231235        int filter_type; 
    232236 
    233         fdi = CreateItf(“input”, FLOW_READ_ONLY); 
     237        fdi = CreateItf(INPUTITF_NAME, FLOW_READ_ONLY); 
    234238        if (fdi < 0) { 
    235239                WriteLog(“Error creating flow\n”); 
    236240                return 0; 
    237241        } 
    238         fdo = CreateItf(“output”, FLOW_WRITE_ONLY); 
     242        fdo = CreateItf(OUTPUTITF_NAME, FLOW_WRITE_ONLY); 
    239243        if (fdo < 0) { 
    240244                WriteLog(“Error creating flow\n”);