Changeset 147


Ignore:
Timestamp:
Feb 7, 2006 9:13:28 PM (18 years ago)
Author:
bennylp
Message:

Renamed pjsua.c to pjsua_core.c since it is causing link problems with gcc

Location:
pjproject/trunk/pjsip
Files:
4 edited
1 moved

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/build/Makefile

    r145 r147  
    5555export PJSUA_SRCDIR = ../src/pjsua 
    5656export PJSUA_OBJS += $(OS_OBJS) $(M_OBJS) $(CC_OBJS) $(HOST_OBJS) \ 
    57                         main.o pjsua_reg.o pjsua.o 
     57                        main.o pjsua_reg.o pjsua_core.o 
    5858export PJSUA_CFLAGS += $(_CFLAGS) 
    5959export PJSUA_LDFLAGS += $(_LDFLAGS) 
  • pjproject/trunk/pjsip/build/pjsua.dsp

    r141 r147  
    9696 
    9797SOURCE=..\src\pjsua\main.c 
    98  
    99 !IF  "$(CFG)" == "pjsua - Win32 Release" 
    100  
    101 !ELSEIF  "$(CFG)" == "pjsua - Win32 Debug" 
    102  
    103 !ENDIF  
    104  
    10598# End Source File 
    10699# Begin Source File 
     
    124117# Begin Source File 
    125118 
    126 SOURCE=..\src\pjsua\pjsua.c 
     119SOURCE=..\src\pjsua\pjsua_core.c 
    127120# End Source File 
    128121# Begin Source File 
  • pjproject/trunk/pjsip/src/pjsua/main.c

    r141 r147  
    7272    puts("  q    Quit"); 
    7373    puts(""); 
     74    fflush(stdout); 
    7475} 
    7576 
     
    101102            if (inv_session != NULL) { 
    102103                puts("Can not make call while another one is in progress"); 
     104                fflush(stdout); 
    103105                continue; 
    104106            } 
    105107 
    106108#if 1 
    107             printf("Enter URL to call: "); 
     109            printf("Enter URL to call: "); fflush(stdout); 
    108110            fgets(buf, sizeof(buf), stdin); 
    109111 
     
    111113                /* Cancelled. */ 
    112114                puts("<cancelled>"); 
     115                fflush(stdout); 
    113116                continue; 
    114117            } 
     
    134137            if (inv_session == NULL) { 
    135138                puts("No current call"); 
     139                fflush(stdout); 
    136140                continue; 
    137141 
     
    385389    if (!fhnd) { 
    386390        printf("Unable to open config file %s\n", filename); 
     391        fflush(stdout); 
    387392        return -1; 
    388393    } 
     
    417422    if (argc == MAX_ARGS && (i!=*app_argc || !feof(fhnd))) { 
    418423        printf("Too many arguments specified in cmd line/config file\n"); 
     424        fflush(stdout); 
    419425        fclose(fhnd); 
    420426        return -1; 
  • pjproject/trunk/pjsip/src/pjsua/pjsua.h

    r145 r147  
    3636 
    3737 
     38PJ_BEGIN_DECL 
     39 
    3840/* PJSUA application variables. */ 
    39 extern struct pjsua_t 
     41struct pjsua_t 
    4042{ 
    4143    /* Control: */ 
     
    110112    char            *log_filename;  /**< Log filename.                  */ 
    111113 
    112 } pjsua; 
    113  
     114}; 
     115 
     116extern struct pjsua_t pjsua; 
    114117 
    115118/***************************************************************************** 
     
    194197 
    195198 
     199PJ_END_DECL 
     200 
    196201#endif  /* __PJSUA_H__ */ 
Note: See TracChangeset for help on using the changeset viewer.