arsa  2.7
arsa_curl.h
Go to the documentation of this file.
1 #ifndef __ARSA_CURL_H__
2 #define __ARSA_CURL_H__
3 
4 #include <arsa_begin_code.h>
5 #include <irrlicht.h>
6 
7 #define CURL_STATE_SPAWN 0
8 #define CURL_STATE_STARTED 1
9 #define CURL_STATE_END_FIRST 2
10 #define CURL_STATE_END 3
11 
12 extern ARSA_API void ARSACALLCONV curl_Init();
13 extern ARSA_API void ARSACALLCONV curl_Free();
14 extern ARSA_API void ARSACALLCONV curl_Clear();
16 extern ARSA_API bool ARSACALLCONV curl_FreeCmd(const irr::core::stringc& guid);
17 extern ARSA_API bool ARSACALLCONV curl_ExeCmd(const irr::core::stringc& guid);
20 extern ARSA_API bool ARSACALLCONV curl_AllocateResult(const irr::core::stringc& guid, int size_in_byte);
21 extern ARSA_API bool ARSACALLCONV curl_IsIdOk(const irr::core::stringc& guid);
23 extern ARSA_API int ARSACALLCONV curl_IsEnd(const irr::core::stringc& guid);
24 extern ARSA_API bool ARSACALLCONV curl_IsEmpty();
32 extern ARSA_API void ARSACALLCONV curl_SetOutputPath(const irr::core::stringc& guid, const irr::io::path& path_name );
33 extern ARSA_API void ARSACALLCONV curl_SetPreAllocateResult(const irr::core::stringc& guid, irr::u32 size_in_byte );
34 
35 #endif // !__ARSA_CURL_H__
ARSA_API int ARSACALLCONV curl_GetReturn(const irr::core::stringc &guid)
ARSA_API void ARSACALLCONV curl_Free()
ARSA_API bool ARSACALLCONV curl_IsIdOk(const irr::core::stringc &guid)
Main header file of the irrlicht, the only file needed to include.
GLenum GLsizei len
ARSA_API bool ARSACALLCONV curl_IsEmpty()
Very simple string class with some useful features.
Definition: irrString.h:37
ARSA_API irr::u32 ARSACALLCONV curl_GetResultSize(const irr::core::stringc &guid)
ARSA_API bool ARSACALLCONV curl_ExeCmdThread(const irr::core::stringc &guid)
ARSA_API int ARSACALLCONV curl_IsEnd(const irr::core::stringc &guid)
return curl state
ARSA_API bool ARSACALLCONV curl_ExeCmd(const irr::core::stringc &guid)
ARSA_API bool ARSACALLCONV curl_AllocateResult(const irr::core::stringc &guid, int size_in_byte)
ARSA_API bool ARSACALLCONV curl_KillThread(const irr::core::stringc &guid)
ARSA_API void ARSACALLCONV curl_SetOutputPath(const irr::core::stringc &guid, const irr::io::path &path_name)
unsigned int u32
32 bit unsigned variable.
Definition: irrTypes.h:62
ARSA_API irr::core::stringc ARSACALLCONV curl_GetCmd(const irr::core::stringc &guid)
ARSA_API irr::u32 ARSACALLCONV curl_GetCount()
ARSA_API void ARSACALLCONV curl_Init()
ARSA_API bool ARSACALLCONV curl_FreeCmd(const irr::core::stringc &guid)
#define ARSA_API
ARSA_API irr::core::stringc ARSACALLCONV curl_AddCmd(const irr::core::stringc &cmd)
ARSA_API bool ARSACALLCONV curl_GetResultAsString(const irr::core::stringc &guid, irr::core::stringc &out_result)
ARSA_API void ARSACALLCONV curl_SetPreAllocateResult(const irr::core::stringc &guid, irr::u32 size_in_byte)
ARSA_API void ARSACALLCONV curl_Clear()
#define ARSACALLCONV
ARSA_API void *ARSACALLCONV curl_GetResult(const irr::core::stringc &guid, irr::u32 &len)
ARSA_API int ARSACALLCONV curl_GetState(const irr::core::stringc &guid)