Diff for /Amaya/amaya/AHTBridge.c between versions 1.90 and 1.91

version 1.90, 2003/10/30 13:59:01 version 1.91, 2003/11/18 08:10:23
Line 38 Line 38
   extern ThotAppContext app_cont;    extern ThotAppContext app_cont;
 #endif /* #ifdef _MOTIF */  #endif /* #ifdef _MOTIF */
   
 #if defined(_MOTIF) || defined(_GTK)  #if defined(_MOTIF) || defined(_GTK) || defined(_NOGUI)
   /* Private functions */    /* Private functions */
   static void         RequestRegisterReadXtevent (SOCKET);    static void         RequestRegisterReadXtevent (SOCKET);
   static void         RequestKillReadXtevent (SOCKET);    static void         RequestKillReadXtevent (SOCKET);
Line 59 Line 59
  * BSD Unix semantics    * BSD Unix semantics 
  */   */
   
 static const HTEventType ReadBits = HTEvent_READ | HTEvent_ACCEPT | HTEvent_CLOSE;  static const HTEventType ReadBits = (HTEventType)(HTEvent_READ | HTEvent_ACCEPT | HTEvent_CLOSE);
 static const HTEventType WriteBits = HTEvent_WRITE | HTEvent_CONNECT;  static const HTEventType WriteBits = (HTEventType)(HTEvent_WRITE | HTEvent_CONNECT);
 static const HTEventType ExceptBits = HTEvent_OOB;  static const HTEventType ExceptBits = (HTEventType)HTEvent_OOB;
   
 #ifdef _MOTIF  #ifdef _MOTIF
   typedef struct sStatus {    typedef struct sStatus {
Line 210  static void AHTCallback_bridgeGTK (gpoin Line 210  static void AHTCallback_bridgeGTK (gpoin
 void  ProcessTerminateRequest (HTRequest *request, HTResponse *response,  void  ProcessTerminateRequest (HTRequest *request, HTResponse *response,
                                void *param, int status)                                 void *param, int status)
 {     {   
   AHTReqContext *me = HTRequest_context (request);    AHTReqContext *me = (AHTReqContext *)HTRequest_context (request);
   
   /* choose a correct treatment in function of the request's    /* choose a correct treatment in function of the request's
      being associated with an error, with an interruption, or with a       being associated with an error, with an interruption, or with a
Line 835  void AMAYA_SetTimer (HTTimer *libwww_tim Line 835  void AMAYA_SetTimer (HTTimer *libwww_tim
   else    else
     {      {
       /* create a new element */        /* create a new element */
       me = TtaGetMemory (sizeof (AmayaTimer));        me = (AmayaTimer*)TtaGetMemory (sizeof (AmayaTimer));
       /* and add it to the list */        /* and add it to the list */
       HTList_addObject(last, (void *) me);        HTList_addObject(last, (void *) me);
       me->libwww_timer = libwww_timer;        me->libwww_timer = libwww_timer;

Removed from v.1.90  
changed lines
  Added in v.1.91


Webmaster