aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcommon/llsdutil.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llcommon/llsdutil.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/linden/indra/llcommon/llsdutil.h b/linden/indra/llcommon/llsdutil.h
index b67ad52..4740a30 100644
--- a/linden/indra/llcommon/llsdutil.h
+++ b/linden/indra/llcommon/llsdutil.h
@@ -68,28 +68,28 @@ LLSD ll_sd_from_color4(const LLColor4& c);
68LLColor4 ll_color4_from_sd(const LLSD& sd); 68LLColor4 ll_color4_from_sd(const LLSD& sd);
69 69
70// U32 70// U32
71LLSD ll_sd_from_U32(const U32); 71LL_COMMON_API LLSD ll_sd_from_U32(const U32);
72U32 ll_U32_from_sd(const LLSD& sd); 72LL_COMMON_API U32 ll_U32_from_sd(const LLSD& sd);
73 73
74// U64 74// U64
75LLSD ll_sd_from_U64(const U64); 75LL_COMMON_API LLSD ll_sd_from_U64(const U64);
76U64 ll_U64_from_sd(const LLSD& sd); 76LL_COMMON_API U64 ll_U64_from_sd(const LLSD& sd);
77 77
78// IP Address 78// IP Address
79LLSD ll_sd_from_ipaddr(const U32); 79LL_COMMON_API LLSD ll_sd_from_ipaddr(const U32);
80U32 ll_ipaddr_from_sd(const LLSD& sd); 80LL_COMMON_API U32 ll_ipaddr_from_sd(const LLSD& sd);
81 81
82// Binary to string 82// Binary to string
83LLSD ll_string_from_binary(const LLSD& sd); 83LL_COMMON_API LLSD ll_string_from_binary(const LLSD& sd);
84 84
85//String to binary 85//String to binary
86LLSD ll_binary_from_string(const LLSD& sd); 86LL_COMMON_API LLSD ll_binary_from_string(const LLSD& sd);
87 87
88// Serializes sd to static buffer and returns pointer, useful for gdb debugging. 88// Serializes sd to static buffer and returns pointer, useful for gdb debugging.
89char* ll_print_sd(const LLSD& sd); 89LL_COMMON_API char* ll_print_sd(const LLSD& sd);
90 90
91// Serializes sd to static buffer and returns pointer, using "pretty printing" mode. 91// Serializes sd to static buffer and returns pointer, using "pretty printing" mode.
92char* ll_pretty_print_sd(const LLSD& sd); 92LL_COMMON_API char* ll_pretty_print_sd(const LLSD& sd);
93 93
94//compares the structure of an LLSD to a template LLSD and stores the 94//compares the structure of an LLSD to a template LLSD and stores the
95//"valid" values in a 3rd LLSD. Default values 95//"valid" values in a 3rd LLSD. Default values
@@ -98,7 +98,7 @@ char* ll_pretty_print_sd(const LLSD& sd);
98//Returns false if the test is of same type but values differ in type 98//Returns false if the test is of same type but values differ in type
99//Otherwise, returns true 99//Otherwise, returns true
100 100
101BOOL compare_llsd_with_template( 101LL_COMMON_API BOOL compare_llsd_with_template(
102 const LLSD& llsd_to_test, 102 const LLSD& llsd_to_test,
103 const LLSD& template_llsd, 103 const LLSD& template_llsd,
104 LLSD& resultant_llsd); 104 LLSD& resultant_llsd);