blob: 2fb6f2077e9942e675815c8137d1c7a76b8e2658 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
/**
* @file llmessageconfig.h
* @brief Live file handling for messaging
*
* Copyright (c) 2000-$CurrentYear$, Linden Research, Inc.
* $License$
*/
#ifndef LL_MESSAGECONFIG_H
#define LL_MESSAGECONFIG_H
#include <string>
class LLMessageConfig
{
public:
static void initClass(const std::string& server_name,
const std::string& config_dir);
// force loading of config file during startup process
// so it can be used for startup features
static bool isServerDefaultBuilderLLSD();
static bool isServerDefaultBuilderTemplate();
// For individual messages
static bool isMessageBuiltLLSD(const std::string& msg_name);
static bool isMessageBuiltTemplate(const std::string& msg_name);
static bool isMessageTrusted(const std::string& msg_name);
static bool isValidUntrustedMessage(const std::string& msg_name);
};
#endif // LL_MESSAGECONFIG_H
|