Changeset 384 for trunk/zoo-project/zoo-services
- Timestamp:
- Jan 9, 2013, 11:52:44 PM (12 years ago)
- Location:
- trunk/zoo-project/zoo-services/utils/status
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/zoo-project/zoo-services/utils/status/makefile.vc
r216 r384 1 ZOODIR=../../../zoo-kernel 2 THIRDSDIR=../../../thirds 3 !INCLUDE $(ZOODIR)/nmake.opt 4 CFLAGS=-DWIN32 -I$(THIRDSDIR)/dirent-win32 -I$(GEODIR)/include -I$(TPATH)/include -I$(ZOODIR)/ -I./ -DLINUX_FREE_ISSUE -DDEBUG 5 CPP=cl /TP 1 TROOT= $(ZOOK_DIR) 2 !INCLUDE $(ZOOK_DIR)/nmake.opt 3 4 FILES=$(ZOOK_DIR)/dirent.obj $(ZOOK_DIR)/service_internal.obj $(ZOOK_DIR)/ulinet.obj 5 !IFDEF JS_DIR 6 FILES=$(FILES) $(ZOOK_DIR)$(JS_FILE) 7 !ENDIF 8 !IFDEF JDK_DIR 9 FILES=$(FILES) $(ZOOK_DIR)$(JAVA_FILE) 10 !ENDIF 11 !IFDEF PY_DIR 12 FILES=$(FILES) $(ZOOK_DIR)$(PY_FILE) 13 !ENDIF 14 !IFDEF MS_DIR 15 FILES=$(FILES) $(ZOOK_DIR)$(MS_FILE) 16 !ENDIF 6 17 7 18 cgi-env/wps_status.zo: service.c 8 $(CPP) $(CFLAGS) /c service.c9 link /dll /out:cgi-env/wps_status.zo $( ZOODIR)/service_internal.obj $(ZOODIR)/dirent.obj ./service.obj -L$(TPATH)/lib/libssl32.dll.a $(TPATH)/lib/libxslt.lib $(TPATH)/lib/libxml2.lib $(TPATH)/lib/libeay32.dll.a $(TPATH)/lib/libcrypto.a $(TOOLS)/lib/libssl32.dll.a $(LIBINTL_CPATH)/lib/libintl.lib19 $(CPP) /D_CRT_NONSTDC_NO_DEPRECATE -DWIN32 -DZOO_SERVICE $(CFLAGS) /c service.c 20 link /dll /out:cgi-env/wps_status.zo $(FILES) ./service.obj $(LDFLAGS) $(XSLT_DIR)\win32\bin.msvc\libxslt.lib /FORCE:MULTIPLE 10 21 11 22 clean: 12 del /f cgi-env\wps* 23 erase cgi-env\*_status.* 24 erase *.obj -
trunk/zoo-project/zoo-services/utils/status/service.c
r348 r384 24 24 25 25 #include "service.h" 26 #ifdef WIN32 27 #include <windows.h> 28 #endif 26 #include "service_internal.h" 29 27 30 28 extern "C" { … … 40 38 41 39 #include <dirent.h> 42 #include "service_internal.h"43 40 44 41 /** … … 76 73 fprintf(stderr,"File : %s searched : %s\n",dp->d_name,tmp); 77 74 #endif 78 if(strstr(dp->d_name, tmp)!=0){75 if(strstr(dp->d_name,"final_")==0 && strstr(dp->d_name,tmp)!=0){ 79 76 sprintf(fileName,"%s/%s",tmpTmap->value,dp->d_name); 80 77 hasFile=1; 78 break; 81 79 } 82 80 } … … 109 107 xmlDocDumpFormatMemory(res, &xmlbuff, &buffersize, 1); 110 108 setMapInMaps(outputs,"Result","value",(char*)xmlbuff); 111 setMapInMaps(outputs,"Result","mimeType","text/xml");112 setMapInMaps(outputs,"Result","encoding","UTF-8");113 109 xmlFree(xmlbuff); 114 110 }
Note: See TracChangeset
for help on using the changeset viewer.