Mercurial > hg > orthanc
comparison Core/Lua/LuaContext.h @ 1987:ce90d109bb64
new plugin functions: OrthancPluginHttpClient and OrthancPluginGenerateUuid
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 26 Apr 2016 17:40:55 +0200 |
parents | b1291df2f780 |
children | 3dd44baebc36 |
comparison
equal
deleted
inserted
replaced
1986:99b249867052 | 1987:ce90d109bb64 |
---|---|
102 const char* password) | 102 const char* password) |
103 { | 103 { |
104 httpClient_.SetCredentials(username, password); | 104 httpClient_.SetCredentials(username, password); |
105 } | 105 } |
106 | 106 |
107 void SetHttpProxy(const std::string& proxy) | |
108 { | |
109 httpClient_.SetProxy(proxy); | |
110 } | |
111 | |
112 void RegisterFunction(const char* name, | 107 void RegisterFunction(const char* name, |
113 lua_CFunction func); | 108 lua_CFunction func); |
114 | 109 |
115 void SetGlobalVariable(const char* name, | 110 void SetGlobalVariable(const char* name, |
116 void* value); | 111 void* value); |