This commit is contained in:
biosvos
2026-08-07 17:38:18 +09:00
commit 873193a243
9613 changed files with 2755992 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
# Compiler info
CC = /usr/bin/g++
CFLAGS = -Wall -O3 -g -Wimplicit -Wreturn-type -Wunused -Wuninitialized\
-Wparentheses -Wshadow -Wpointer-arith -Woverloaded-virtual\
-fno-rtti -D_REENTRANT -Wno-unused -Wno-non-virtual-dtor
DIR_INCLUDE =
# 32Bit Linux system Large File support option
DFLAGS = -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
OBJ =
ALL = test_agent
# FreeBSD
ifeq ($(FreeBSD), yes)
LIBS = -L/usr/local/lib -lc -lz -lexpat -lpthread -lintl ../../libshcsdk.a ../../libshssdk.a
else
# Linux
LIBS = -L/usr/local/lib -lc -lz -lexpat -lpthread ../../libshcsdk.a ../../libshssdk.a
endif
all: $(ALL)
%.o: %.cpp
$(CC) $(CFLAGS) -o $@ -c $^ $(DFLAGS) $(DIR_INCLUDE)
%.o: %.c
$(CC) $(CFLAGS) -o $@ -c $^ $(DFLAGS) $(DIR_INCLUDE)
test_agent: stdafx.o test_agent.o
$(CC) $(LFLAGS) -o $@ $^ $(DFLAGS) $(DIR_LIB) $(LIBS)
clean:
rm -f *.o $(ALL)
@@ -0,0 +1,33 @@
========================================================================
CONSOLE APPLICATION : test_agent Project Overview
========================================================================
AppWizard has created this test_agent application for you.
This file contains a summary of what you will find in each of the files that
make up your test_agent application.
test_agent.vcproj
This is the main project file for VC++ projects generated using an Application Wizard.
It contains information about the version of Visual C++ that generated the file, and
information about the platforms, configurations, and project features selected with the
Application Wizard.
test_agent.cpp
This is the main application source file.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named test_agent.pch and a precompiled types file named StdAfx.obj.
/////////////////////////////////////////////////////////////////////////////
Other notes:
AppWizard uses "TODO:" comments to indicate parts of the source code you
should add to or customize.
/////////////////////////////////////////////////////////////////////////////
@@ -0,0 +1,8 @@
// stdafx.cpp : source file that includes just the standard includes
// test_agent.pch will be the pre-compiled header
// stdafx.obj will contain the pre-compiled type information
#include "stdafx.h"
// TODO: reference any additional headers you need in STDAFX.H
// and not in this file
+17
View File
@@ -0,0 +1,17 @@
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
#ifdef WIN32
#include "targetver.h"
#include <stdio.h>
#include <tchar.h>
#endif
// TODO: reference additional headers your program requires here
@@ -0,0 +1,13 @@
#pragma once
// The following macros define the minimum required platform. The minimum required platform
// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run
// your application. The macros work by enabling all features available on platform versions up to and
// including the version specified.
// Modify the following defines if you have to target a platform prior to the ones specified below.
// Refer to MSDN for the latest info on corresponding values for different platforms.
#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista.
#define _WIN32_WINNT 0x0600 // Change this to the appropriate value to target other versions of Windows.
#endif
@@ -0,0 +1,757 @@
// test_agent.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#ifdef WIN32
#include <windows.h>
#include <atlstr.h>
#else
#include <errno.h>
#include <stdio.h>
#include <sys/types.h>
#include <stdlib.h>
#include <string.h>
#define GetLastError() errno
#endif //WIN32
#include "../../SHCSDK.h"
#include "../../SHSSDK.h"
#if 0 //토토디스크 & QC망 테스트
#define SERVICE "totodisk05"
#define ID "totodisk05"
#define PWD "toto379"
#define AUTHSTR "icstoto05"
//#define AUTHSTR "totodisk05"
#define FILE_PATH "D:/cert/totodisk05238.cert"
#endif
#if 0 //SBFS 04
#define ID "sbfstest"
#define PWD "sbfstest"
#define FILE_PATH "D:/cert/sbfstest260.cert"
#define AUTHSTR "sbfstest001"
#define SERVICE "sbfstest001"
#endif
#if 0 //SBFS 04 - solboxsvc1
#define ID "solboxsvc1"
#define PWD "5emffld)"
#define FILE_PATH "D:/cert/solboxsvc1298.cert"
#define AUTHSTR "svc1bd04"
#define SERVICE "svc1bd04"
#endif
#if 0 //SBFS 04 - svc1test05
#define ID "solboxsvc1"
#define PWD "5emffld)"
#define FILE_PATH "D:/cert/solboxsvc1326.cert"
#define AUTHSTR "svc1test05"
#define SERVICE "svc1test05"
#endif
#if 1 //BD-16 - nctest
#define SERVICE "nctest2"
#define ID "nctest"
#define PWD "nctest123"
#define AUTHSTR "icstmxmflald"
#define FILE_PATH "D:/cert/nctest348.cert"
#endif
#if 0 //토토디스크 & QC망 테스트
#define SERVICE "softline2009"
#define ID "totodisk05"
#define PWD "toto379"
#define AUTHSTR "icssoftline09"
#define FILE_PATH "D:/cert/totodisk05240.cert"
#endif
#if 0 //BD-04 - nctest
#define SERVICE "nctest"
#define ID "nctest"
#define PWD "nctest123"
#define AUTHSTR "icstmxmflald"
#define FILE_PATH "D:/cert/nctest347.cert"
#endif
#if 0 //SBFS 03 & X-CDN
#define ID "solboxtest"
#define PWD "solboxtest"
#define FILE_PATH "D:/cert/solboxtest186.cert"
#define AUTHSTR "solboxtest"
#define SERVICE "solboxtest"
#endif
HSHSDK g_hshsdk;
bool g_bUp = false;
size_t g_total = 0;
size_t g_buffertotal = 0;
#ifdef WIN32
int __stdcall CallbackProc(void *param, INT64 result)
#else // WIN32
int CallbackProc(void *param, INT64 result)
#endif // WIN32
{
static time_t start_time = time(0);
time_t gap, current_time = time(0);
gap = current_time - start_time;
printf("CallbackProc elapsed[%ld] sec\n", gap);
// 파일 업로드 중…
#ifdef WIN32
printf("%s loading : %I64d\n", g_bUp ? "Up" : "Down", result);
#else // WIN32
printf("%s loading : %lld\n", g_bUp ? "Up" : "Down", result);
#endif // WIN32
//Sleep(10000);
// 1 : 계속 진행
// 0 : 멈춤
return 1;
}
int Download_Func(void* userdata, const char* buf, size_t len)
{
printf("downloading : %d\n", len);
// 1 : 멈춤 // 0 : 계속진행
g_total += len;
if(g_total >= (1024*1024))
return 1;
return 0;
}
ssize_t Upload_Func(void *userval, char *buf, size_t len)
{
if(buf == 0x00)
return 0; // 버퍼 할당이 되있지 않다.
if (g_total > g_buffertotal)
return 0; // 설정한 용량이다. 종료
strncpy(buf, "1234567890", 10);
//strncpy(buf, "0000000000", 10);
g_total += 10; // 전송된 용량증가
printf("uploading : %d\n", g_total);
return 10; // 전송된 용량 리턴
}
int InitSDK()
{
int r = 0;
//sh_set_cache_file("C:/test.log");
char* astring = NULL;
char *host = (char*)sh_get_service_host(ID, PWD, SERVICE);
if(!host)
{
printf("sh_get_service_host ERROR : %d\n", GetLastError());
r = 1;
goto ERR_EXIT;
}
printf("host: %s\n", host);
static bool first_time = true;
if(first_time == true)
{
#ifndef _SP_SDK_
astring = (char*)sh_get_auth_string(ID, PWD, SERVICE, AUTHSTR, FILE_PATH, time(NULL) + 86400);
#else // _SP_SDK_
char userid[256] = {0};
sprintf(userid,"%s@%s", SERVICE, ID);
astring = (char*)sh_get_auth_sp_string(userid, PWD);
#endif // _SP_SDK_
if (!astring)
{
printf("sh_get_auth_string ERROR : %d\n", GetLastError());
r = 1;
goto ERR_EXIT;
}
g_hshsdk =NULL;
sh_set_response_timeout(3);
g_hshsdk = sh_init(host, astring, CallbackProc, NULL);
if (!g_hshsdk)
{
printf("sh_init ERROR : %d\n", GetLastError());
r = 1;
goto ERR_EXIT;
}
sh_set_sntp_timeout(3);
sh_set_limit(g_hshsdk,10240);
sh_set_sessionID(g_hshsdk,"testID");
}
else
{
g_hshsdk = sh_init(host, astring, CallbackProc, NULL);
if (!g_hshsdk)
{
printf("sh_init ERROR : %d\n", GetLastError());
r = 1;
goto ERR_EXIT;
}
}
ERR_EXIT:
if(host)
sh_mem_free(host);
if(astring)
sh_mem_free(astring);
return r;
}
void FreeSDK()
{
sh_free(g_hshsdk);
}
bool makedir()
{
if (sh_make_directory(g_hshsdk, "/SVC1_TEST") == 0)
{
if ( sh_get_error_number(g_hshsdk) == SHCERRNO_ALREADYEXIST )
return true;
printf("sh_make_directory ERROR : %d, %s\n", sh_get_error_number(g_hshsdk), sh_get_error_message(g_hshsdk));
return false;
}
else
{
printf("sh_make_directory SUCCESS\n");
return true;
}
}
bool makedirex(char * path)
{
if (sh_make_directory(g_hshsdk, path) == 0)
{
if ( sh_get_error_number(g_hshsdk) == SHCERRNO_ALREADYEXIST )
return true;
printf("sh_make_directory ERROR : %d, %s\n", sh_get_error_number(g_hshsdk), sh_get_error_message(g_hshsdk));
return false;
}
else
{
printf("sh_make_directory SUCCESS\n");
return true;
}
}
void upload_buffer(int mode, int c)
{
g_bUp = true;
char szFilename[256];
if ( makedir() == false )
return;
for( int i = 0; i < c; i++ ) {
sprintf(szFilename, "/SVC1_TEST/test_buffer%d%c", i, '\0');
g_total = 0; g_buffertotal = 2000;
if(!sh_upload_buffer(g_hshsdk, szFilename, mode, Upload_Func, g_buffertotal, NULL)) {
printf("upload_buffer : %d, %s\n", sh_get_error_number(g_hshsdk), sh_get_error_message(g_hshsdk));
return;
}
else
printf("sh_upload SUCCESS\n");
}
}
// 업로드
void upload(int mode, int c)
{
g_bUp = true;
char szFilename[256];
// -- 2013-03-25
char extQuery[600] = {0};
//strcpy(extQuery, "&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10");
strcpy(extQuery, "a=10&werfgwerf=123!@#$%^&*()테스트");
if ( makedir() == false )
return;
for( int i = 0; i < c; i++ ) {
sprintf(szFilename, "/SVC1_TEST/test_%d%c", i, '\0');
//sprintf(szFilename, "/k/kji777/( 完結 _ 2007 ) _ 수신연무.Jyushinenbu 03.avi", i, '\0');
if (!sh_upload(g_hshsdk, "D:/test_10k.txt", szFilename, mode, -1, extQuery))
{
printf("sh_upload ERROR 1: %d, %s\n", sh_get_error_number(g_hshsdk), sh_get_error_message(g_hshsdk));
return;
}
else
printf("sh_upload SUCCESS\n");
}
}
void uploadex(int mode, char *path, int c)
{
g_bUp = true;
char szFilename[256];
// -- 2013-03-25
char extQuery[600] = {0};
//strcpy(extQuery, "&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10");
strcpy(extQuery, "a=10&werfgwerf=123!@#$%^&*()테스트");
if ( makedirex(path) == false )
return;
for( int i = 0; i < c; i++ ) {
sprintf(szFilename, "%s/test_%d%c", path, i, '\0');
//sprintf(szFilename, "/k/kji777/( 完結 _ 2007 ) _ 수신연무.Jyushinenbu 03.avi", i, '\0');
//if (!sh_upload(g_hshsdk, "D:/output.html", szFilename, mode, -1, extQuery))
if (!sh_upload(g_hshsdk, "D:/fhs.data.check", szFilename, mode, -1, extQuery))
{
printf("sh_upload ERROR 1: %d, %s\n", sh_get_error_number(g_hshsdk), sh_get_error_message(g_hshsdk));
return;
}
else
printf("sh_upload SUCCESS\n");
}
}
void download_buffer(int c)
{
g_bUp = false;
char szFilename[1024];
for( int i = 0; i < c; i++ ) {
sprintf(szFilename, "/SVC1_TEST/test_%d%c", i, '\0');
if (!sh_download_buffer(g_hshsdk, szFilename, Download_Func, 0, NULL)) {
printf("download_buffer : %d, %s\n", sh_get_error_number(g_hshsdk), sh_get_error_message(g_hshsdk));
return;
} else {
printf("download_buffer SUCCESS\n");
}
}
}
void download_buffer_r(int c)
{
g_bUp = false;
char szFilename[1024];
for( int i = 0; i < c; i++ ) {
sprintf(szFilename, "/SVC1_TEST/test_%d%c", i, '\0');
INT64 nBytes = 1024, offset = 1;
if (!sh_download_buffer_r(g_hshsdk, szFilename, Download_Func, offset, nBytes, NULL)) {
printf("download_buffer_r : %d, %s\n", sh_get_error_number(g_hshsdk), sh_get_error_message(g_hshsdk));
return;
} else {
printf("download_buffer_r SUCCESS\n");
}
}
}
/*
void download(char * filename, int mode, int c)
{
g_bUp = false;
char local_location[1024];
char dav_location[1024];
for( int i = 0; i < c; i++ ) {
sprintf(dav_location, "%s/test_%d%c", filename, i, '\0');
sprintf(local_location, "D:/temp/down_%d.xml%c", i, '\0');
if (!sh_download(g_hshsdk, dav_location, local_location, mode, -1))
{
printf("sh_download ERROR : %d, %s\n", sh_get_error_number(g_hshsdk), sh_get_error_message(g_hshsdk));
return;
}
else{
printf("sh_download SUCCESS\n");
}
}
return;
} */
void download(char * filename, int mode, int c)
{
g_bUp = false;
char local_location[1024];
char dav_location[1024];
// -- 2013-03-25
char extQuery[600] = {0};
//strcpy(extQuery, "&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10&a=10");
strcpy(extQuery, "a=10&werfgwerf=123!@#$%^&*()테스트");
sprintf(dav_location, "%s", filename, '\0');
sprintf(local_location, "D:/cert/aa.txt", '\0');
if (!sh_download(g_hshsdk, dav_location, local_location, mode, -1, extQuery))
{
printf("sh_download ERROR : %d, %s\n", sh_get_error_number(g_hshsdk), sh_get_error_message(g_hshsdk));
return;
}
else{
printf("sh_download SUCCESS\n");
}
return;
}
void getdirex(char * path)
{
HSHFILELIST h = sh_get_filelist(g_hshsdk, path, 1);
if (h == 0 )
{
printf("sh_get_filelist ERROR : %d, %s\n", sh_get_error_number(g_hshsdk), sh_get_error_message(g_hshsdk));
}
else
{
int n = sh_get_filelist_count(g_hshsdk, h);
printf("sh_get_filelist CNT = %d SUCCESS\n", n);
sh_free_filelist(g_hshsdk, h);
}
}
void getdir()
{
HSHFILELIST h = sh_get_filelist(g_hshsdk, "/SVC1_TEST/", 1);
if (h == 0 )
{
printf("sh_get_filelist ERROR : %d, %s\n", sh_get_error_number(g_hshsdk), sh_get_error_message(g_hshsdk));
}
else
{
int n = sh_get_filelist_count(g_hshsdk, h);
printf("sh_get_filelist CNT = %d SUCCESS\n", n);
sh_free_filelist(g_hshsdk, h);
}
}
void deldirex(char * path)
{
if (sh_delete(g_hshsdk, path) == 0)
{
printf("sh_delete ERROR : %d, %s\n", sh_get_error_number(g_hshsdk), sh_get_error_message(g_hshsdk));
return;
}
else
printf("sh_delete SUCCESS\n");
}
void deldir()
{
if (sh_delete(g_hshsdk, "/SVC1_TEST/") == 0)
{
printf("sh_delete ERROR : %d, %s\n", sh_get_error_number(g_hshsdk), sh_get_error_message(g_hshsdk));
return;
}
else
printf("sh_delete SUCCESS\n");
}
#if defined(WIN32) && defined( _DEBUG)
#define _CRTDBG_MAP_ALLOC
#include <malloc.h>
#include <crtdbg.h>
#define SET_CRT_DEBUG_FIELD(a) \
_CrtSetDbgFlag((a) | _CrtSetDbgFlag(_CRTDBG_REPORT_FLAG))
#define CLEAR_CRT_DEBUG_FIELD(a) \
_CrtSetDbgFlag(~(a) & _CrtSetDbgFlag(_CRTDBG_REPORT_FLAG))
#else
#define SET_CRT_DEBUG_FIELD(a) ((void) 0)
#define CLEAR_CRT_DEBUG_FIELD(a) ((void) 0)
#endif
#define _ONCE_INIT_
//#define _MULT_THRAD_
#ifndef _MULT_THRAD_
int main(int argc, char* argv[])
{
time_t time_start, time_end;
time_start = time(0);
#ifdef WIN32
//SET_CRT_DEBUG_FIELD( _CRTDBG_LEAK_CHECK_DF | _CRTDBG_DELAY_FREE_MEM_DF );
SET_CRT_DEBUG_FIELD( _CRTDBG_LEAK_CHECK_DF );
//_CrtSetBreakAlloc(75);
#endif // _WIN32
int i = 0, maxc = 1, nc = 1;
#ifdef _ONCE_INIT_
if(InitSDK()) return -1;
#endif // _ONCE_INIT_
char path[256] = {0};
if(argc > 1 && argv[1])
strcpy(path, argv[1]);
else
strcpy(path, "/SVC1_TEST");
//strcpy(path, "/u/u9912168/2011091017553163316_MisfitsS01E05WSPDTVXviDBiA_IPHONE.mp4");
//strcpy(path, "/test/install.ini");
//strcpy(path, "/msvcr71.dll");
//strcpy(path, "D:\\x_interactive\\trunk\\SDK\\version_3\\WIN_SDK\\test_agent\\ReadMe.txt");
if(argc > 2 && argv[2] && atoi(argv[2]) > 0 )
maxc = atoi(argv[2]);
if(argc > 3 && argv[3] && atoi(argv[3]) > 0 )
nc = atoi(argv[3]);
srand ( time(NULL) );
while(1)
{
#ifndef _ONCE_INIT_
if(InitSDK()) break;
#endif //!_ONCE_INIT_
time_end = time(0);
if(nc < 0)
nc = (rand() % 1000) + 1;
// uploadex(SHWRITEPOLICY_OVERWRITE, path , nc);
upload(SHWRITEPOLICY_OVERWRITE, nc);
// download(path, SHWRITEPOLICY_OVERWRITE, nc);
// deldirex(path);
printf("소요된 시간 [%d]초\n, %s" ,(time(0) - time_end) , path);
#ifndef _ONCE_INIT_
FreeSDK();
#endif //!_ONCE_INIT_
if(++i >= maxc)
break;
}
printf("총 소요된 시간 [%d]초\n" ,(time(0) - time_start) );
#ifdef _ONCE_INIT_
FreeSDK();
#endif // _ONCE_INIT_
#ifdef WIN32
_CrtDumpMemoryLeaks();
#endif // WIN32
return 0;
}
#else // _MULT_THRAD_
char g_szServiceHost[1024];
#ifdef WIN32
#define NUM_OF_THREADS MAXIMUM_WAIT_OBJECTS
HANDLE g_hStart = NULL;
DWORD WINAPI TestThread(LPVOID lpParam)
{
char szAuthString[1024], szRemotePath[1024], szLocalPath[1024];
::WaitForSingleObject(g_hStart, INFINITE);
#ifndef _SP_SDK_
const char* pAuthString = sh_get_auth_string(ID, PWD, SERVICE, AUTHSTR, FILE_PATH, time(NULL) + 86400);
strcpy_s(szAuthString, sizeof(szAuthString), pAuthString);
sh_mem_free((void *)pAuthString);
#else // _SP_SDK_
char userid[256] = {0};
sprintf(userid,"%s@%s", SERVICE, ID);
const char* pAuthString = (char*)sh_get_auth_sp_string(userid, PWD);
strcpy_s(szAuthString, sizeof(szAuthString), pAuthString);
sh_mem_free((void *)pAuthString);
#endif // _SP_SDK_
g_bUp = true;
HSHSDK hSDK = sh_init(g_szServiceHost, szAuthString, 0, 0);
// upload
sprintf_s(szRemotePath, sizeof(szRemotePath), "/testx/test%d", (int)lpParam);
if(!sh_upload(hSDK, "D:/test_10k.txt", szRemotePath, SHWRITEPOLICY_OVERWRITE, -1))
printf("sh_upload ERROR 1: %d, %s\n", sh_get_error_number(hSDK), sh_get_error_message(hSDK));
else
printf("sh_upload SUCCESS\n");
// download
sprintf_s(szLocalPath, sizeof(szLocalPath), "D:/temp/test%d", (int)lpParam);
if (!sh_download(hSDK, szRemotePath, szLocalPath, SHWRITEPOLICY_OVERWRITE, -1))
{
printf("sh_download ERROR : %d, %s\n", sh_get_error_number(g_hshsdk), sh_get_error_message(g_hshsdk));
}
else{
printf("sh_download SUCCESS\n");
}
sh_free(hSDK);
return 0;
}
int _tmain(int argc, _TCHAR* argv[])
{
const char *pServiceHost = sh_get_service_host(ID, PWD, SERVICE);
if(!pServiceHost)
{
fprintf(stderr, "Error : get service host.\n");
return 1;
}
strcpy_s(g_szServiceHost, sizeof(g_szServiceHost), pServiceHost);
sh_mem_free((void *)pServiceHost);
puts(g_szServiceHost);
g_hStart = ::CreateEvent(NULL, TRUE, FALSE, NULL);
HANDLE hThread[NUM_OF_THREADS];
DWORD dwThreadId[NUM_OF_THREADS];
for (int i = 0; i < NUM_OF_THREADS; ++i)
{
hThread[i] = CreateThread(NULL, 0, TestThread, (PVOID)i, 0, &dwThreadId[i]);
}
puts("Ready. press enter key to start.");
getchar();
DWORD dwStart = ::GetTickCount();
::SetEvent(g_hStart);
::WaitForMultipleObjects(NUM_OF_THREADS, hThread, TRUE, INFINITE);
printf("Done : %dms elapsed.\n", ::GetTickCount() - dwStart);
getchar();
return 0;
}
#else // WIN32
#include <pthread.h>
#include <unistd.h>
#define NUM_OF_THREADS 100 // file open count
void *t_function(void *data)
{
pthread_t id = pthread_self();
size_t i = (size_t) data;
//printf("therad : %d \n",i);
//pthread_exit((void *) 0);
char szAuthString[1024], szRemotePath[1024], szLocalPath[1024];
char* pAuthString = NULL;
#ifndef _SP_SDK_
pAuthString = (char*) sh_get_auth_string(ID, PWD, SERVICE, AUTHSTR, FILE_PATH, time(NULL) + 86400);
#else // _SP_SDK_
char userid[256] = {0};
sprintf(userid,"%s@%s", SERVICE, ID);
pAuthString = (char*) sh_get_auth_sp_string(userid, PWD);
#endif // _SP_SDK_
if(!pAuthString)
{
fprintf(stderr, "error : get auth string \n");
return (void *) 0;
}
strcpy(szAuthString, pAuthString);
sh_mem_free((void *)pAuthString);
g_bUp = true;
HSHSDK hSDK = sh_init(g_szServiceHost, szAuthString, 0, 0);
// upload
sprintf(szRemotePath, "/testx/test_%d", i);
if(!sh_upload(hSDK, "D:/test_10k.txt", szRemotePath, SHWRITEPOLICY_OVERWRITE, -1))
printf("sh_upload ERROR 1: %d, %s\n", sh_get_error_number(hSDK), sh_get_error_message(hSDK));
else
printf("sh_upload SUCCESS\n");
//download
sprintf(szLocalPath, "D:/temp/test_%d", i);
if (!sh_download(hSDK, szRemotePath, szLocalPath, SHWRITEPOLICY_OVERWRITE, -1))
{
printf("sh_download ERROR : %d, %s\n", sh_get_error_number(g_hshsdk), sh_get_error_message(g_hshsdk));
}
else{
printf("sh_download SUCCESS\n");
}
sh_free(hSDK);
return (void *) 0;
}
int main(int argc, char* argv[])
{
const char *pServiceHost = sh_get_service_host(ID, PWD, SERVICE);
if(!pServiceHost)
{
fprintf(stderr, "Error : get service host.\n");
return 1;
}
strcpy(g_szServiceHost, pServiceHost);
sh_mem_free((void *)pServiceHost);
puts(g_szServiceHost);
puts("Ready. press enter key to start.");
getchar();
int thr_id,i;
pthread_t p_thread[NUM_OF_THREADS];
static time_t tstart = time(0);
for (i = 0; i < NUM_OF_THREADS; ++i)
{
thr_id = pthread_create(&p_thread[i], NULL, t_function, (void *)((int)i));
if (thr_id < 0)
{
perror("thread create error : ");
exit(0);
}
sleep(0);
//pthread_detach(p_thread[i]);
}
int rc,status;
for(i = (NUM_OF_THREADS-1); i >= 0; i--)
{
rc = pthread_join(p_thread[i], (void **)&status);
if( rc == 0 )
{
//printf("Completed join with thread %d status= %d\n",i, status);
}
else
{
printf("ERROR; return code from pthread_join() is %d, thread %d\n", rc, i);
return -1;
}
}
printf("Done : %dsec elapsed.\n", time(0) - tstart);
getchar();
return 0;
}
#endif // WIN32
#endif // _MULT_THRAD_
@@ -0,0 +1,675 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug_SP-SDK-KTICS|Win32">
<Configuration>Debug_SP-SDK-KTICS</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug_SP-SDK-KTICS|x64">
<Configuration>Debug_SP-SDK-KTICS</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug_SP-SDK-X-CDN|Win32">
<Configuration>Debug_SP-SDK-X-CDN</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug_SP-SDK-X-CDN|x64">
<Configuration>Debug_SP-SDK-X-CDN</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug_X-CDN|Win32">
<Configuration>Debug_X-CDN</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug_X-CDN|x64">
<Configuration>Debug_X-CDN</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release_SP-SDK-KTICS|Win32">
<Configuration>Release_SP-SDK-KTICS</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release_SP-SDK-KTICS|x64">
<Configuration>Release_SP-SDK-KTICS</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release_SP-SDK-X-CDN|Win32">
<Configuration>Release_SP-SDK-X-CDN</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release_SP-SDK-X-CDN|x64">
<Configuration>Release_SP-SDK-X-CDN</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release_X-CDN|Win32">
<Configuration>Release_X-CDN</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release_X-CDN|x64">
<Configuration>Release_X-CDN</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectName>test_agent</ProjectName>
<ProjectGuid>{AD9F0C8F-DB80-48D7-BC2D-D670D316FB71}</ProjectGuid>
<RootNamespace>test_agent</RootNamespace>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-X-CDN|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-KTICS|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-X-CDN|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-KTICS|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release_X-CDN|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug_X-CDN|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-X-CDN|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-KTICS|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-X-CDN|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-KTICS|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release_X-CDN|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug_X-CDN|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-X-CDN|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-KTICS|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-X-CDN|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-KTICS|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release_X-CDN|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug_X-CDN|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-X-CDN|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-KTICS|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-X-CDN|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-KTICS|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release_X-CDN|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug_X-CDN|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.40219.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">../win32/bin/Debug/</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug_X-CDN|Win32'">../win32/bin/Debug_LGU</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Configuration)\</IntDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug_X-CDN|Win32'">$(Configuration)\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug_X-CDN|Win32'">true</LinkIncremental>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">../win64/bin/Debug</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug_X-CDN|x64'">../win64/bin/Debug_LGU</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug_X-CDN|x64'">$(Platform)\$(Configuration)\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug_X-CDN|x64'">true</LinkIncremental>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">../win32/bin/Release</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release_X-CDN|Win32'">../win32/bin/Release_LGU</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Configuration)\</IntDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release_X-CDN|Win32'">$(Configuration)\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release_X-CDN|Win32'">false</LinkIncremental>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">../win64/bin/Release</OutDir>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release_X-CDN|x64'">../win64/bin/Release_LGU</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release_X-CDN|x64'">$(Platform)\$(Configuration)\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</LinkIncremental>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release_X-CDN|x64'">false</LinkIncremental>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-KTICS|Win32'">../win32/bin/Debug_SP-SDK</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-KTICS|Win32'">$(Configuration)\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-KTICS|Win32'">true</LinkIncremental>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-KTICS|x64'">../win64/bin/Debug_SP-SDK</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-KTICS|x64'">$(Platform)\$(Configuration)\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-KTICS|x64'">true</LinkIncremental>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-X-CDN|Win32'">../win32/bin/Debug_SP-SDK_LGU</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-X-CDN|Win32'">$(Configuration)\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-X-CDN|Win32'">true</LinkIncremental>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-X-CDN|x64'">../win64/bin/Debug_SP-SDK_LGU</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-X-CDN|x64'">$(Platform)\$(Configuration)\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-X-CDN|x64'">true</LinkIncremental>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-KTICS|Win32'">../win32/bin/Release_SP-SDK</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-KTICS|Win32'">$(Configuration)\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-KTICS|Win32'">false</LinkIncremental>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-KTICS|x64'">../win64/bin/Release_SP-SDK</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-KTICS|x64'">$(Platform)\$(Configuration)\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-KTICS|x64'">false</LinkIncremental>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-X-CDN|Win32'">../win32/bin/Release_SP-SDK_LGU</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-X-CDN|Win32'">$(Configuration)\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-X-CDN|Win32'">false</LinkIncremental>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-X-CDN|x64'">../win64/bin/Release_SP-SDK_LGU</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-X-CDN|x64'">$(Platform)\$(Configuration)\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-X-CDN|x64'">false</LinkIncremental>
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-KTICS|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-KTICS|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-KTICS|Win32'" />
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-KTICS|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-KTICS|x64'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-KTICS|x64'" />
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-X-CDN|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-X-CDN|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-X-CDN|Win32'" />
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-X-CDN|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-X-CDN|x64'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-X-CDN|x64'" />
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug_X-CDN|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug_X-CDN|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug_X-CDN|Win32'" />
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Debug_X-CDN|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Debug_X-CDN|x64'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Debug_X-CDN|x64'" />
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-KTICS|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-KTICS|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-KTICS|Win32'" />
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-KTICS|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-KTICS|x64'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-KTICS|x64'" />
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-X-CDN|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-X-CDN|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-X-CDN|Win32'" />
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-X-CDN|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-X-CDN|x64'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-X-CDN|x64'" />
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release_X-CDN|Win32'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release_X-CDN|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release_X-CDN|Win32'" />
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRuleSet Condition="'$(Configuration)|$(Platform)'=='Release_X-CDN|x64'">AllRules.ruleset</CodeAnalysisRuleSet>
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
<CodeAnalysisRules Condition="'$(Configuration)|$(Platform)'=='Release_X-CDN|x64'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release_X-CDN|x64'" />
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_USE_32BIT_TIME_T;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalDependencies>../win32/bin/Debug/SHCSDK.lib;../win32/bin/Debug/SHSSDK.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>../win32/bin/Debug/test_agent.exe</OutputFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug_X-CDN|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_USE_32BIT_TIME_T;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalDependencies>../win32/bin/Debug_LGU/SHCSDK.lib;../win32/bin/Debug_LGU/SHSSDK.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>../win32/bin/Debug_LGU/test_agent.exe</OutputFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Midl>
<TargetEnvironment>X64</TargetEnvironment>
</Midl>
<ClCompile>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_WIN32;_WIN64;WIN32;Win64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalDependencies>../win64/bin/Debug/SHCSDK.lib;../win64/bin/Debug/SHSSDK.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>../win64/bin/Debug/test_agent.exe</OutputFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug_X-CDN|x64'">
<Midl>
<TargetEnvironment>X64</TargetEnvironment>
</Midl>
<ClCompile>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_WIN32;_WIN64;WIN32;Win64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalDependencies>../win64/bin/Debug/SHCSDK.lib;../win64/bin/Debug/SHSSDK.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>../win64/bin/Debug_LGU/test_agent.exe</OutputFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_USE_32BIT_TIME_T;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalDependencies>../win32/bin/Release/SHCSDK.lib;../win32/bin/Release/SHSSDK.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>../win32/bin/Release/test_agent.exe</OutputFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release_X-CDN|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_USE_32BIT_TIME_T;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalDependencies>../win32/bin/Release_LGU/SHCSDK.lib;../win32/bin/Release_LGU/SHSSDK.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>../win32/bin/Release_LGU/test_agent.exe</OutputFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Midl>
<TargetEnvironment>X64</TargetEnvironment>
</Midl>
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_WIN32;_WIN64;WIN32;Win64;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalDependencies>../win64/bin/Release/SHCSDK.lib;../win64/bin/Release/SHSSDK.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>../win64/bin/Release/test_agent.exe</OutputFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release_X-CDN|x64'">
<Midl>
<TargetEnvironment>X64</TargetEnvironment>
</Midl>
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_WIN32;_WIN64;WIN32;Win64;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalDependencies>../win64/bin/Release_LGU/SHCSDK.lib;../win64/bin/Release_LGU/SHSSDK.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>../win64/bin/Release_LGU/test_agent.exe</OutputFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-KTICS|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_USE_32BIT_TIME_T;_SP_SDK_;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalDependencies>../win32/bin/Debug_SP-SDK/SHCSDK.lib;../win32/bin/Debug_SP-SDK/SHSSDK.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>../win32/bin/Debug_SP-SDK/test_agent.exe</OutputFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-KTICS|x64'">
<Midl>
<TargetEnvironment>X64</TargetEnvironment>
</Midl>
<ClCompile>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_WIN32;_WIN64;WIN32;Win64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalDependencies>../win64/bin/Debug_SP-SDK/SHCSDK.lib;../win64/bin/Debug_SP-SDK/SHSSDK.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>../win64/bin/Debug_SP-SDK/test_agent.exe</OutputFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-X-CDN|Win32'">
<ClCompile>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_USE_32BIT_TIME_T;_SP_SDK_;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalDependencies>../win32/bin/Debug_SP-SDK_LGU/SHCSDK.lib;../win32/bin/Debug_SP-SDK_LGU/SHSSDK.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>../win32/bin/Debug_SP-SDK_LGU/test_agent.exe</OutputFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-X-CDN|x64'">
<Midl>
<TargetEnvironment>X64</TargetEnvironment>
</Midl>
<ClCompile>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_WIN32;_WIN64;WIN32;Win64;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalDependencies>../win64/bin/Debug_SP-SDK_LGU/SHCSDK.lib;../win64/bin/Debug_SP-SDK_LGU/SHSSDK.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>../win64/bin/Debug_SP-SDK_LGU/test_agent.exe</OutputFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-KTICS|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_USE_32BIT_TIME_T;_SP_SDK_;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalDependencies>../win32/bin/Release_SP-SDK/SHCSDK.lib;../win32/bin/Release_SP-SDK/SHSSDK.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>../win32/bin/Release_SP-SDK/test_agent.exe</OutputFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-KTICS|x64'">
<Midl>
<TargetEnvironment>X64</TargetEnvironment>
</Midl>
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_WIN32;_WIN64;WIN32;Win64;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalDependencies>../win64/bin/Release_SP-SDK/SHCSDK.lib;../win64/bin/Release_SP-SDK/SHSSDK.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>../win64/bin/Release_SP-SDK/test_agent.exe</OutputFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-X-CDN|Win32'">
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_USE_32BIT_TIME_T;_SP_SDK_;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalDependencies>../win32/bin/Release_SP-SDK_LGU/SHCSDK.lib;../win32/bin/Release_SP-SDK_LGU/SHSSDK.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>../win32/bin/Release_SP-SDK_LGU/test_agent.exe</OutputFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX86</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-X-CDN|x64'">
<Midl>
<TargetEnvironment>X64</TargetEnvironment>
</Midl>
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_WIN32;_WIN64;WIN32;Win64;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
<PrecompiledHeader>Use</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<AdditionalDependencies>../win64/bin/Release_SP-SDK_LGU/SHCSDK.lib;../win64/bin/Release_SP-SDK_LGU/SHSSDK.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>../win64/bin/Release_SP-SDK_LGU/test_agent.exe</OutputFile>
<GenerateDebugInformation>true</GenerateDebugInformation>
<SubSystem>Console</SubSystem>
<OptimizeReferences>true</OptimizeReferences>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<TargetMachine>MachineX64</TargetMachine>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="stdafx.cpp">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-KTICS|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-KTICS|x64'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-X-CDN|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug_SP-SDK-X-CDN|x64'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug_X-CDN|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug_X-CDN|x64'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-KTICS|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-KTICS|x64'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-X-CDN|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release_SP-SDK-X-CDN|x64'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release_X-CDN|Win32'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release_X-CDN|x64'">Create</PrecompiledHeader>
</ClCompile>
<ClCompile Include="test_agent.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="stdafx.h" />
<ClInclude Include="targetver.h" />
</ItemGroup>
<ItemGroup>
<None Include="Makefile" />
<None Include="ReadMe.txt" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="stdafx.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="test_agent.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="stdafx.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="targetver.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="Makefile" />
<None Include="ReadMe.txt" />
</ItemGroup>
</Project>
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff