Ignore:
Timestamp:
Jun 24, 2015, 1:58:17 AM (9 years ago)
Author:
djay
Message:

Various fixes for Windows support: generate uuid using UuidCreate?, pass usid to the created process, call TerminateProcess? on dismiss request.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-kernel/service_internal.h

    r654 r680  
    9898#endif
    9999
    100   char *readVSIFile(maps*,const char*);
    101   int  setOutputValue( maps*, const char*, char*, size_t);
    102   char* getInputValue( maps*,const char*,size_t*);
     100  ZOO_DLL_EXPORT char *readVSIFile(maps*,const char*);
     101  ZOO_DLL_EXPORT int  setOutputValue( maps*, const char*, char*, size_t);
     102  ZOO_DLL_EXPORT char* getInputValue( maps*,const char*,size_t*);
    103103
    104   void unhandleStatus(maps*);
    105   int _updateStatus(maps*);
    106   char* _getStatus(maps*,char*);
    107   char* _getStatusFile(maps*,char*);
    108   char* getStatus(int);
    109   char* getStatusId(maps*,char*);
     104  ZOO_DLL_EXPORT void unhandleStatus(maps*);
     105  ZOO_DLL_EXPORT int _updateStatus(maps*);
     106  ZOO_DLL_EXPORT char* _getStatus(maps*,char*);
     107  ZOO_DLL_EXPORT char* _getStatusFile(maps*,char*);
     108  ZOO_DLL_EXPORT char* getStatus(int);
     109  ZOO_DLL_EXPORT char* getStatusId(maps*,char*);
    110110
    111   int updateStatus( maps*,const int,const char*);
    112   int removeShmLock(maps*, int);
     111  ZOO_DLL_EXPORT int updateStatus( maps*,const int,const char*);
     112  ZOO_DLL_EXPORT int removeShmLock(maps*, int);
    113113  /**
    114114   * Cross platform type used for Lock identifier
     
    117117#define semid int
    118118#else
     119#include <windows.h>
    119120#define semid HANDLE
    120121#endif
    121   semid acquireLock(maps*);
    122   semid getShmLockId(maps*,int);
    123   int lockShm(semid);
    124   int unlockShm(semid);
     122  ZOO_DLL_EXPORT semid acquireLock(maps*);
     123  ZOO_DLL_EXPORT semid getShmLockId(maps*,int);
     124  ZOO_DLL_EXPORT int lockShm(semid);
     125  ZOO_DLL_EXPORT int unlockShm(semid);
    125126
    126127#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png