aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmessage/llcachename.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-06 18:24:57 -0500
committerJacek Antonelli2008-09-06 18:25:07 -0500
commit798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch)
tree1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/llmessage/llcachename.h
parentSecond Life viewer sources 1.20.15 (diff)
downloadmeta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz
Second Life viewer sources 1.21.0-RC
Diffstat (limited to 'linden/indra/llmessage/llcachename.h')
-rw-r--r--linden/indra/llmessage/llcachename.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/linden/indra/llmessage/llcachename.h b/linden/indra/llmessage/llcachename.h
index e7d5a44..965b4ba 100644
--- a/linden/indra/llmessage/llcachename.h
+++ b/linden/indra/llmessage/llcachename.h
@@ -37,7 +37,7 @@ class LLHost;
37class LLUUID; 37class LLUUID;
38 38
39// agent_id/group_id, first_name, last_name, is_group, user_data 39// agent_id/group_id, first_name, last_name, is_group, user_data
40typedef void (*LLCacheNameCallback)(const LLUUID&, const char*, const char*, BOOL, void*); 40typedef void (*LLCacheNameCallback)(const LLUUID&, const std::string&, const std::string&, BOOL, void*);
41 41
42// Here's the theory: 42// Here's the theory:
43// If you request a name that isn't in the cache, it returns "waiting" 43// If you request a name that isn't in the cache, it returns "waiting"
@@ -75,7 +75,6 @@ public:
75 // last must be at least DB_LAST_NAME_BUF_SIZE characters. 75 // last must be at least DB_LAST_NAME_BUF_SIZE characters.
76 // If not available, copies the string "waiting". 76 // If not available, copies the string "waiting".
77 // Returns TRUE iff available. 77 // Returns TRUE iff available.
78 BOOL getName(const LLUUID& id, char* first, char* last);
79 BOOL getName(const LLUUID& id, std::string& first, std::string& last); 78 BOOL getName(const LLUUID& id, std::string& first, std::string& last);
80 BOOL getFullName(const LLUUID& id, std::string& fullname); 79 BOOL getFullName(const LLUUID& id, std::string& fullname);
81 80
@@ -83,7 +82,6 @@ public:
83 // provided. The caller must allocate at least 82 // provided. The caller must allocate at least
84 // DB_GROUP_NAME_BUF_SIZE characters. If not available, this 83 // DB_GROUP_NAME_BUF_SIZE characters. If not available, this
85 // method copies the string "waiting". Returns TRUE iff available. 84 // method copies the string "waiting". Returns TRUE iff available.
86 BOOL getGroupName(const LLUUID& id, char* group);
87 BOOL getGroupName(const LLUUID& id, std::string& group); 85 BOOL getGroupName(const LLUUID& id, std::string& group);
88 86
89 // Call the callback with the group or avatar name. 87 // Call the callback with the group or avatar name.
@@ -107,7 +105,7 @@ public:
107 void dump(); // Dumps the contents of the cache 105 void dump(); // Dumps the contents of the cache
108 void dumpStats(); // Dumps the sizes of the cache and associated queues. 106 void dumpStats(); // Dumps the sizes of the cache and associated queues.
109 107
110 static LLString getDefaultName(); 108 static std::string getDefaultName();
111 109
112private: 110private:
113 111