Yattm - unified GTK instant-messaging client logo
   [Generated for version 0.2-17 - Mon Jan 6 19:01:23 GMT+1 2003]

Home - Main Page - Data Structures - File List - Data Fields - Globals

contact_scanner.c File Reference

#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <gtk/gtk.h>
#include "value_pair.h"
#include "account.h"
#include "contact_parser.h"

Include dependency graph for contact_scanner.c:

Include dependency graph

Go to the source code of this file.

Data Structures

struct  yy_buffer_state

Defines

#define yy_create_buffer   contact_create_buffer
#define yy_delete_buffer   contact_delete_buffer
#define yy_scan_buffer   contact_scan_buffer
#define yy_scan_string   contact_scan_string
#define yy_scan_bytes   contact_scan_bytes
#define yy_flex_debug   contact_flex_debug
#define yy_init_buffer   contact_init_buffer
#define yy_flush_buffer   contact_flush_buffer
#define yy_load_buffer_state   contact_load_buffer_state
#define yy_switch_to_buffer   contact_switch_to_buffer
#define yyin   contactin
#define yyleng   contactleng
#define yylex   contactlex
#define yyout   contactout
#define yyrestart   contactrestart
#define yytext   contacttext
#define yywrap   contactwrap
#define FLEX_SCANNER
#define YY_FLEX_MAJOR_VERSION   2
#define YY_FLEX_MINOR_VERSION   5
#define yyconst
#define YY_PROTO(proto)   ()
#define YY_NULL   0
#define YY_SC_TO_UI(c)   ((unsigned int) (unsigned char) c)
#define BEGIN   yy_start = 1 + 2 *
#define YY_START   ((yy_start - 1) / 2)
#define YYSTATE   YY_START
#define YY_STATE_EOF(state)   (YY_END_OF_BUFFER + state + 1)
#define YY_NEW_FILE   yyrestart( yyin )
#define YY_END_OF_BUFFER_CHAR   0
#define YY_BUF_SIZE   16384
#define EOB_ACT_CONTINUE_SCAN   0
#define EOB_ACT_END_OF_FILE   1
#define EOB_ACT_LAST_MATCH   2
#define yyless(n)
#define unput(c)   yyunput( c, yytext_ptr )
#define YY_BUFFER_NEW   0
#define YY_BUFFER_NORMAL   1
#define YY_BUFFER_EOF_PENDING   2
#define YY_CURRENT_BUFFER   yy_current_buffer
#define YY_FLUSH_BUFFER   yy_flush_buffer( yy_current_buffer )
#define yy_new_buffer   yy_create_buffer
#define yy_set_interactive(is_interactive)
#define yy_set_bol(at_bol)
#define YY_AT_BOL()   (yy_current_buffer->yy_at_bol)
#define yytext_ptr   yytext
#define YY_DO_BEFORE_ACTION
#define YY_NUM_RULES   13
#define YY_END_OF_BUFFER   14
#define REJECT   reject_used_but_not_detected
#define yymore()   yymore_used_but_not_detected
#define YY_MORE_ADJ   0
#define YY_RESTORE_YY_MORE_OFFSET
#define INITIAL   0
#define contactwrap()   1
#define YY_NO_PUSH_STATE   1
#define YY_NO_POP_STATE   1
#define YY_NO_TOP_STATE   1
#define YY_READ_BUF_SIZE   8192
#define ECHO   (void) fwrite( yytext, yyleng, 1, yyout )
#define YY_INPUT(buf, result, max_size)
#define yyterminate()   return YY_NULL
#define YY_START_STACK_INCR   25
#define YY_FATAL_ERROR(msg)   yy_fatal_error( msg )
#define YY_DECL   int yylex YY_PROTO(( void ))
#define YY_BREAK   break;
#define YY_RULE_SETUP   YY_USER_ACTION
#define YY_EXIT_FAILURE   2
#define yyless(n)

Typedefs

typedef yy_buffer_stateYY_BUFFER_STATE
typedef unsigned int yy_size_t
typedef unsigned char YY_CHAR
typedef int yy_state_type

Functions

void yyrestart YY_PROTO ((FILE *input_file))
void yy_switch_to_buffer YY_PROTO ((YY_BUFFER_STATE new_buffer))
void yy_load_buffer_state YY_PROTO ((void))
YY_BUFFER_STATE yy_create_buffer YY_PROTO ((FILE *file, int size))
void yy_delete_buffer YY_PROTO ((YY_BUFFER_STATE b))
void yy_init_buffer YY_PROTO ((YY_BUFFER_STATE b, FILE *file))
YY_BUFFER_STATE yy_scan_buffer YY_PROTO ((char *base, yy_size_t size))
YY_BUFFER_STATE yy_scan_string YY_PROTO ((yyconst char *yy_str))
YY_BUFFER_STATE yy_scan_bytes YY_PROTO ((yyconst char *bytes, int len))
void *yy_flex_alloc YY_PROTO ((yy_size_t))
void *yy_flex_realloc YY_PROTO ((void *, yy_size_t))
void yy_flex_free YY_PROTO ((void *))
yy_state_type yy_try_NUL_trans YY_PROTO ((yy_state_type current_state))
void yy_fatal_error YY_PROTO ((yyconst char msg[]))
void yyunput YY_PROTO ((int c, char *buf_ptr))

Variables

int yyleng
FILE * yyin = (FILE *) 0
FILE * yyout = (FILE *) 0
YY_BUFFER_STATE yy_current_buffer = 0
char yy_hold_char
int yy_n_chars
char * yy_c_buf_p = (char *) 0
int yy_init = 1
int yy_start = 0
int yy_did_buffer_switch_on_eof
char * yytext
yyconst short int yy_accept [60]
yyconst int yy_ec [256]
yyconst int yy_meta [19]
yyconst short int yy_base [62]
yyconst short int yy_def [62]
yyconst short int yy_nxt [92]
yyconst short int yy_chk [92]
yy_state_type yy_last_accepting_state
char * yy_last_accepting_cpos
int Line_contact = 1
register char * yy_bp
int size
FILE * file
int len


Define Documentation

#define BEGIN   yy_start = 1 + 2 *
 

Definition at line 97 of file contact_scanner.c.

 
#define contactwrap      1
 

Definition at line 426 of file contact_scanner.c.

#define ECHO   (void) fwrite( yytext, yyleng, 1, yyout )
 

Definition at line 507 of file contact_scanner.c.

#define EOB_ACT_CONTINUE_SCAN   0
 

Definition at line 122 of file contact_scanner.c.

#define EOB_ACT_END_OF_FILE   1
 

Definition at line 123 of file contact_scanner.c.

#define EOB_ACT_LAST_MATCH   2
 

Definition at line 124 of file contact_scanner.c.

#define FLEX_SCANNER
 

Definition at line 25 of file contact_scanner.c.

#define INITIAL   0
 

Definition at line 417 of file contact_scanner.c.

#define REJECT   reject_used_but_not_detected
 

Definition at line 411 of file contact_scanner.c.

#define unput      yyunput( c, yytext_ptr )
 

Definition at line 153 of file contact_scanner.c.

 
#define YY_AT_BOL      (yy_current_buffer->yy_at_bol)
 

Definition at line 280 of file contact_scanner.c.

#define YY_BREAK   break;
 

Definition at line 566 of file contact_scanner.c.

#define YY_BUF_SIZE   16384
 

Definition at line 115 of file contact_scanner.c.

#define YY_BUFFER_EOF_PENDING   2
 

Definition at line 216 of file contact_scanner.c.

#define YY_BUFFER_NEW   0
 

Definition at line 204 of file contact_scanner.c.

#define YY_BUFFER_NORMAL   1
 

Definition at line 205 of file contact_scanner.c.

#define yy_create_buffer   contact_create_buffer
 

Definition at line 1 of file contact_scanner.c.

#define YY_CURRENT_BUFFER   yy_current_buffer
 

Definition at line 225 of file contact_scanner.c.

#define YY_DECL   int yylex YY_PROTO(( void ))
 

Definition at line 554 of file contact_scanner.c.

#define yy_delete_buffer   contact_delete_buffer
 

Definition at line 2 of file contact_scanner.c.

#define YY_DO_BEFORE_ACTION
 

Value:

yytext_ptr = yy_bp; \
    yyleng = (int) (yy_cp - yy_bp); \
    yy_hold_char = *yy_cp; \
    *yy_cp = '\0'; \
    yy_c_buf_p = yy_cp;

Definition at line 296 of file contact_scanner.c.

#define YY_END_OF_BUFFER   14
 

Definition at line 304 of file contact_scanner.c.

#define YY_END_OF_BUFFER_CHAR   0
 

Definition at line 112 of file contact_scanner.c.

#define YY_EXIT_FAILURE   2
 

#define YY_FATAL_ERROR msg       yy_fatal_error( msg )
 

Definition at line 547 of file contact_scanner.c.

#define yy_flex_debug   contact_flex_debug
 

Definition at line 6 of file contact_scanner.c.

#define YY_FLEX_MAJOR_VERSION   2
 

Definition at line 26 of file contact_scanner.c.

#define YY_FLEX_MINOR_VERSION   5
 

Definition at line 27 of file contact_scanner.c.

#define YY_FLUSH_BUFFER   yy_flush_buffer( yy_current_buffer )
 

Definition at line 254 of file contact_scanner.c.

#define yy_flush_buffer   contact_flush_buffer
 

Definition at line 8 of file contact_scanner.c.

#define yy_init_buffer   contact_init_buffer
 

Definition at line 7 of file contact_scanner.c.

#define YY_INPUT buf,
result,
max_size   
 

Value:

if ( yy_current_buffer->yy_is_interactive ) \
        { \
        int c = '*', n; \
        for ( n = 0; n < max_size && \
                 (c = getc( yyin )) != EOF && c != '\n'; ++n ) \
            buf[n] = (char) c; \
        if ( c == '\n' ) \
            buf[n++] = (char) c; \
        if ( c == EOF && ferror( yyin ) ) \
            YY_FATAL_ERROR( "input in flex scanner failed" ); \
        result = n; \
        } \
    else if ( ((result = fread( buf, 1, max_size, yyin )) == 0) \
          && ferror( yyin ) ) \
        YY_FATAL_ERROR( "input in flex scanner failed" );

Definition at line 514 of file contact_scanner.c.

#define yy_load_buffer_state   contact_load_buffer_state
 

Definition at line 9 of file contact_scanner.c.

#define YY_MORE_ADJ   0
 

Definition at line 413 of file contact_scanner.c.

#define yy_new_buffer   yy_create_buffer
 

Definition at line 264 of file contact_scanner.c.

#define YY_NEW_FILE   yyrestart( yyin )
 

Definition at line 110 of file contact_scanner.c.

#define YY_NO_POP_STATE   1
 

Definition at line 477 of file contact_scanner.c.

#define YY_NO_PUSH_STATE   1
 

Definition at line 476 of file contact_scanner.c.

#define YY_NO_TOP_STATE   1
 

Definition at line 478 of file contact_scanner.c.

#define YY_NULL   0
 

Definition at line 84 of file contact_scanner.c.

#define YY_NUM_RULES   13
 

Definition at line 303 of file contact_scanner.c.

#define YY_PROTO proto       ()
 

Definition at line 80 of file contact_scanner.c.

#define YY_READ_BUF_SIZE   8192
 

Definition at line 498 of file contact_scanner.c.

#define YY_RESTORE_YY_MORE_OFFSET
 

Definition at line 414 of file contact_scanner.c.

#define YY_RULE_SETUP   YY_USER_ACTION
 

Definition at line 569 of file contact_scanner.c.

#define YY_SC_TO_UI      ((unsigned int) (unsigned char) c)
 

Definition at line 91 of file contact_scanner.c.

#define yy_scan_buffer   contact_scan_buffer
 

Definition at line 3 of file contact_scanner.c.

#define yy_scan_bytes   contact_scan_bytes
 

Definition at line 5 of file contact_scanner.c.

#define yy_scan_string   contact_scan_string
 

Definition at line 4 of file contact_scanner.c.

#define yy_set_bol at_bol   
 

Value:

{ \
    if ( ! yy_current_buffer ) \
        yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
    yy_current_buffer->yy_at_bol = at_bol; \
    }

Definition at line 273 of file contact_scanner.c.

#define yy_set_interactive is_interactive   
 

Value:

{ \
    if ( ! yy_current_buffer ) \
        yy_current_buffer = yy_create_buffer( yyin, YY_BUF_SIZE ); \
    yy_current_buffer->yy_is_interactive = is_interactive; \
    }

Definition at line 266 of file contact_scanner.c.

#define YY_START   ((yy_start - 1) / 2)
 

Definition at line 103 of file contact_scanner.c.

#define YY_START_STACK_INCR   25
 

Definition at line 542 of file contact_scanner.c.

#define YY_STATE_EOF state       (YY_END_OF_BUFFER + state + 1)
 

Definition at line 107 of file contact_scanner.c.

#define yy_switch_to_buffer   contact_switch_to_buffer
 

Definition at line 10 of file contact_scanner.c.

#define yyconst
 

Definition at line 73 of file contact_scanner.c.

#define yyin   contactin
 

Definition at line 11 of file contact_scanner.c.

#define yyleng   contactleng
 

Definition at line 12 of file contact_scanner.c.

#define yyless  
 

Value:

do \
        { \
          \
        yytext[yyleng] = yy_hold_char; \
        yy_c_buf_p = yytext + n; \
        yy_hold_char = *yy_c_buf_p; \
        *yy_c_buf_p = '\0'; \
        yyleng = n; \
        } \
    while ( 0 )

Definition at line 142 of file contact_scanner.c.

#define yyless  
 

Value:

do \
        { \
          \
        *yy_cp = yy_hold_char; \
        YY_RESTORE_YY_MORE_OFFSET \
        yy_c_buf_p = yy_cp = yy_bp + n - YY_MORE_ADJ; \
        YY_DO_BEFORE_ACTION;   \
        } \
    while ( 0 )

Definition at line 142 of file contact_scanner.c.

#define yylex   contactlex
 

Definition at line 13 of file contact_scanner.c.

 
#define yymore      yymore_used_but_not_detected
 

Definition at line 412 of file contact_scanner.c.

#define yyout   contactout
 

Definition at line 14 of file contact_scanner.c.

#define yyrestart   contactrestart
 

Definition at line 15 of file contact_scanner.c.

#define YYSTATE   YY_START
 

Definition at line 104 of file contact_scanner.c.

 
#define yyterminate      return YY_NULL
 

Definition at line 537 of file contact_scanner.c.

#define yytext   contacttext
 

Definition at line 16 of file contact_scanner.c.

#define yytext_ptr   yytext
 

Definition at line 286 of file contact_scanner.c.

#define yywrap   contactwrap
 

Definition at line 17 of file contact_scanner.c.


Typedef Documentation

typedef struct yy_buffer_state* YY_BUFFER_STATE
 

Definition at line 117 of file contact_scanner.c.

typedef unsigned char YY_CHAR
 

Definition at line 282 of file contact_scanner.c.

typedef unsigned int yy_size_t
 

Definition at line 159 of file contact_scanner.c.

typedef int yy_state_type
 

Definition at line 284 of file contact_scanner.c.


Function Documentation

void yyunput YY_PROTO (int c, char *buf_ptr)    [static]
 

void yy_fatal_error YY_PROTO (yyconst char msg[])    [static]
 

yy_state_type yy_try_NUL_trans YY_PROTO (yy_state_type current_state)    [static]
 

void yy_flex_free YY_PROTO (void *)    [static]
 

void* yy_flex_realloc YY_PROTO (void *, yy_size_t   [static]
 

void* yy_flex_alloc YY_PROTO (yy_size_t   [static]
 

YY_BUFFER_STATE yy_scan_bytes YY_PROTO (yyconst char *bytes, int len  
 

YY_BUFFER_STATE yy_scan_string YY_PROTO (yyconst char *yy_str)   
 

YY_BUFFER_STATE yy_scan_buffer YY_PROTO (char *base, yy_size_t size  
 

void yy_init_buffer YY_PROTO (YY_BUFFER_STATE b, FILE *file  
 

void yy_delete_buffer YY_PROTO (YY_BUFFER_STATE b)   
 

YY_BUFFER_STATE yy_create_buffer YY_PROTO (FILE *file, int size  
 

void yy_load_buffer_state YY_PROTO (void)   
 

void yy_switch_to_buffer YY_PROTO (YY_BUFFER_STATE new_buffer)   
 

void yyrestart YY_PROTO (FILE *input_file)   
 


Variable Documentation

FILE* file
 

Definition at line 1296 of file contact_scanner.c.

int len
 

Definition at line 1409 of file contact_scanner.c.

int Line_contact = 1
 

Definition at line 427 of file contact_scanner.c.

yy_size_t size
 

Definition at line 1577 of file contact_scanner.c.

yyconst short int yy_accept[60] [static]
 

Initial value:

    {   0,
        0,    0,   14,    8,   10,   11,    7,   12,    7,    7,
        8,    8,    0,    9,    0,    0,    0,    0,    0,    8,
        9,    0,    0,    0,    0,    0,    8,    0,    0,    0,
        0,    0,    8,    0,    0,    0,    0,    0,    8,    0,
        0,    0,    0,    0,    8,    0,    0,    0,    0,    3,
        2,    1,    0,    4,    0,    0,    5,    6,    0
    }

Definition at line 305 of file contact_scanner.c.

yyconst short int yy_base[62] [static]
 

Initial value:

    {   0,
        0,    0,   72,    0,   73,   73,   15,   61,   20,   73,
       59,    0,   17,   73,   18,   58,   17,   54,   51,   55,
       26,   54,   50,   47,   49,   47,   46,   45,   45,   43,
       39,   37,   36,   35,   35,   33,   40,   34,   35,   34,
       36,   30,   33,   35,   25,   24,   29,   31,   21,   73,
        0,   73,   17,   73,   25,   15,   73,   73,   73,   19,
       35
    }

Definition at line 353 of file contact_scanner.c.

register char* yy_bp
 

Definition at line 1069 of file contact_scanner.c.

char* yy_c_buf_p = (char *) 0 [static]
 

Definition at line 237 of file contact_scanner.c.

yyconst short int yy_chk[92] [static]
 

Initial value:

    {   0,
        1,    1,    1,    1,    1,    1,    1,    1,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1,    7,   60,
       13,   15,   56,    7,    9,   13,   15,   17,   17,   21,
        9,    9,   55,   53,   21,   61,   61,   49,   48,   47,
       46,   45,   44,   43,   42,   41,   40,   39,   38,   37,
       36,   35,   34,   33,   32,   31,   30,   29,   28,   27,
       26,   25,   24,   23,   22,   20,   19,   18,   16,   11,
        8,    3,   59,   59,   59,   59,   59,   59,   59,   59,
       59,   59,   59,   59,   59,   59,   59,   59,   59,   59,
       59

    }

Definition at line 390 of file contact_scanner.c.

YY_BUFFER_STATE yy_current_buffer = 0 [static]
 

Definition at line 219 of file contact_scanner.c.

yyconst short int yy_def[62] [static]
 

Initial value:

    {   0,
       59,    1,   59,   60,   59,   59,   61,   59,   59,   59,
       60,   60,   61,   59,   61,   59,   59,   59,   59,   60,
       61,   59,   59,   59,   59,   59,   60,   59,   59,   59,
       59,   59,   60,   59,   59,   59,   59,   59,   60,   59,
       59,   59,   59,   59,   60,   59,   59,   59,   59,   59,
       60,   59,   59,   59,   59,   59,   59,   59,    0,   59,
       59
    }

Definition at line 364 of file contact_scanner.c.

int yy_did_buffer_switch_on_eof [static]
 

Definition at line 244 of file contact_scanner.c.

yyconst int yy_ec[256] [static]
 

Definition at line 315 of file contact_scanner.c.

char yy_hold_char [static]
 

Definition at line 229 of file contact_scanner.c.

int yy_init = 1 [static]
 

Definition at line 238 of file contact_scanner.c.

char* yy_last_accepting_cpos [static]
 

Definition at line 406 of file contact_scanner.c.

yy_state_type yy_last_accepting_state [static]
 

Definition at line 405 of file contact_scanner.c.

yyconst int yy_meta[19] [static]
 

Initial value:

    {   0,
        1,    2,    2,    2,    2,    2,    2,    2,    1,    1,
        1,    1,    1,    1,    1,    1,    1,    1
    }

Definition at line 347 of file contact_scanner.c.

int yy_n_chars [static]
 

Definition at line 231 of file contact_scanner.c.

yyconst short int yy_nxt[92] [static]
 

Initial value:

    {   0,
        4,    5,    6,    7,    8,    9,   10,   10,    4,   11,
        4,    4,    4,    4,    4,    4,    4,    4,   14,   12,
       14,   21,   58,   15,   17,   15,   15,   23,   24,   14,
       18,   19,   57,   56,   15,   13,   13,   55,   54,   53,
       52,   51,   50,   49,   48,   47,   46,   45,   44,   43,
       42,   41,   40,   39,   38,   37,   36,   35,   34,   33,
       32,   31,   30,   29,   28,   27,   26,   25,   22,   20,
       16,   59,    3,   59,   59,   59,   59,   59,   59,   59,
       59,   59,   59,   59,   59,   59,   59,   59,   59,   59,
       59

    }

Definition at line 375 of file contact_scanner.c.

int yy_start = 0 [static]
 

Definition at line 239 of file contact_scanner.c.

FILE* yyin = (FILE *) 0
 

Definition at line 283 of file contact_scanner.c.

int yyleng
 

Definition at line 234 of file contact_scanner.c.

FILE * yyout = (FILE *) 0
 

Definition at line 283 of file contact_scanner.c.

char* yytext
 

Definition at line 415 of file contact_scanner.c.


Contact: Andy Maloney     [Documentation generated by doxygen]