summaryrefslogtreecommitdiff
path: root/indra/llmessage/llcurl.h
diff options
context:
space:
mode:
authorLogan Dethrow <log@lindenlab.com>2011-09-06 16:54:53 -0400
committerLogan Dethrow <log@lindenlab.com>2011-09-06 16:54:53 -0400
commita8d49f7cf54151bfe03049417d59462688946ae0 (patch)
tree5fbd5db8b80cf664e4bae0bdb9f52eb4b3bfc365 /indra/llmessage/llcurl.h
parent9a1e8d78fe461e5257ca76c295c4915f8719aa4d (diff)
LLProxy code review fixes.
* Removed check_curl_code and check_curl_multi_code from the global namespace. * Added comments documenting which thread the public methods of LLProxy should be called from. * Corrected grammar in LLSingleton.h * Fixed a buffer scope problem in llpacketring.cpp.
Diffstat (limited to 'indra/llmessage/llcurl.h')
-rw-r--r--indra/llmessage/llcurl.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/indra/llmessage/llcurl.h b/indra/llmessage/llcurl.h
index 5ab4dc35b9..154dc23edc 100644
--- a/indra/llmessage/llcurl.h
+++ b/indra/llmessage/llcurl.h
@@ -371,7 +371,12 @@ private:
bool mResultReturned;
};
-void check_curl_code(CURLcode code);
-void check_curl_multi_code(CURLMcode code);
+// Provide access to LLCurl free functions outside of llcurl.cpp without polluting the global namespace.
+namespace LLCurlFF
+{
+ void check_curl_code(CURLcode code);
+ void check_curl_multi_code(CURLMcode code);
+}
+
#endif // LL_LLCURL_H