00001 /* 00002 * Copyright (c) 2000, University of Amsterdam, The Netherlands. 00003 * All rights reserved. 00004 * 00005 * Author(s): 00006 * Marc Navarro (mnavarro@wins.uva.nl) 00007 */ 00008 00011 #ifndef __GNUC__ 00012 00013 #ifdef HXSERVER_EXPORTS 00014 #define HXSERVER_API __declspec(dllexport) 00015 #else 00016 #define HXSERVER_API __declspec(dllimport) 00017 #endif 00018 00019 #else 00020 00021 #define HXSERVER_API 00022 00023 #endif 00024 00025 00026 HXSERVER_API int HxServerInit(int argc, char* argv[]); 00027 HXSERVER_API int HxSimpleServerInit(int port); 00028 HXSERVER_API int HxServerRun(); 00029 HXSERVER_API int HxServerShutdown(); 00030 00031 HXSERVER_API char* HxGetInitialObject(const char* name, char* ref); 00032 HXSERVER_API char* HxCreateRgbBuffer(char* ref); 00033 HXSERVER_API void HxSetRgbBufferArray(const char* ref, int* array); 00034 HXSERVER_API void HxBindToNameServer(const char* name, const char* address); 00035 00036 00037 00038 00039