3 Adimda Dosya Taratma Dokumantasyonu: http://bytescanner.com/sdk/apidoctr. txt Gelistiriciler Icin SDK Kk Dizini : http://bytescanner.com/sdk/ Projenin Tam Kaynak Kodu: http://bytescanner.com/sdk/BytescannerCAPI. rar Kaynak Kodu: / Author : Ersan YAKIT ersanyakit@yahoo.com.tr http://www.bytescanner.com DEVC++ http://downloads.sourceforge. net/project/dev-cpp/Binaries/Dev-C%2B%2B%204.9.9.2/devcpp-4.9.9.2_setup. exe?r=http%3A%2F%2Fwww.bloodshed.net%2Fdev%2Fdevcpp.html&ts=1378681357&use_mirror=garr CURL http://curl.haxx. se/gknw. net/7.32.0/dist-w32/curl-7.32.0-devel-mingw32. zip Using LIBCURL in DEVC++ http://curl.haxx. se/mail/archive-2005-10/att-0119/DevCpp-Mingw_Install Compilation_Sept_2005. rtf PROJECT / OPTIONS / PARAMETERS / LINKER C:\Dev-Cpp/lib/libcurl. a C:\Dev-Cpp/lib/libcurldll. a / #include "main. h" #include "cJSON. h" typedef struct _MemoryStruct MemoryStruct, LPMemoryStruct; typedef struct _SCAN_FILE SCAN_FILE, LPSCAN_FILE; void set_memory int unset_memory int str_merge { va_list ap; int len, mlen; char ret = NULL; mlen = strlen + 512; va_start ; while(1) va_end ; buff = ret; return len; } size_t Write2Mem { size_t realsize = size nmemb; MemoryStruct mem = userp; mem->memory = realloc(mem->memory, mem->size + realsize + 1); if memcpy(& , contents, realsize); mem->size += realsize; mem->memory = 0; return realsize; } / START / int print_exit int _SetAuthParameters int _checkSuccess { char out; cJSON item; item=cJSON_Parse ; cJSON subitem=cJSON_GetArrayItem(item,0); if(strstr } int getScanID { char out; cJSON item; item=cJSON_Parse ; cJSON subitem=cJSON_GetArrayItem(item,1); if(strstr } int main { CURL curl; CURLcode res; SCAN_FILE scan=NULL; char postData=NULL; MemoryStruct chunk; struct curl_httppost formpost=NULL; struct curl_httppost lastptr=NULL; struct curl_slist headerlist=NULL; static const char buf = "Expect:"; chunk. memory = malloc(1); chunk. size = 0; scan=set_memory( sizeof +1); if str_merge ; // your email str_merge ; // your email str_merge ; str_merge ; if fprintf ; if ( str_merge -1 ) fprintf ; curl_global_init ; curl = curl_easy_init ; if curl_easy_setopt ; curl_easy_setopt ; curl_easy_setopt ; curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, Write2Mem ); curl_easy_setopt(curl, CURLOPT_WRITEDATA, &chunk); res = curl_easy_perform ; if fprintf(stderr, "curl_easy_perform failed: %s\n", curl_easy_strerror ; char out; cJSON item; cJSON subitem; int isLoginOk; isLoginOk=_checkSuccess ; item=cJSON_Parse ; out=cJSON_Print ; printf ; if(isLoginOk 0) return; chunk. memory = malloc(1); chunk. size = 0; curl_formadd ; curl_formadd ; //curl_formadd ; headerlist = curl_slist_append ; / what URL that receives this POST / curl_easy_setopt ; if ( (argc 2) && (! strcmp(argv , "noexpectheader")) ) curl_easy_setopt ; res = curl_easy_perform ; if int isUploadOK; int currentScanID; item=cJSON_Parse ; out=cJSON_Print ; printf ; isUploadOK=_checkSuccess ; if(isUploadOK 0) return; currentScanID=getScanID ; chunk. memory = malloc(1); chunk. size = 0; printf ; printf ; char ScanResultURL = NULL; str_merge ; curl_easy_setopt ; res = curl_easy_perform ; item=cJSON_Parse ; out=cJSON_Print ; item=cJSON_GetArrayItem(item,1); // root child = 1, success = 0, error=2 out=cJSON_Print ; char AnvirusProvider=NULL; char LastUpdate=NULL; char ScanTime = NULL; char ScanResult= NULL; int i; for (i=0;i<cJSON_GetArraySize ;i++) getch ; curl_easy_cleanup ; curl_global_cleanup ; return 0; } 🏴Hi'dan gelen varır Who'ya, Hi'da onun adıdır Who'da...

Çok güzel grünüyor c'ye dnüş yapıcam galiba :) Hocam bu arada hangi distro o kullandığın linux? Si vis pacem para bellum.

Çok güzel grünüyor c'ye dnüş yapıcam galiba :) Hocam bu arada hangi distro o kullandığın linux? tesekkurler, arch linux 🏴Hi'dan gelen varır Who'ya, Hi'da onun adıdır Who'da...

Linux ortaminda derlemek icin; gcc main. c cJSON. c -lcurl -lm 🏴Hi'dan gelen varır Who'ya, Hi'da onun adıdır Who'da...