2 #include "../acl_cpp_define.hpp" 4 #include "../stdlib/string.hpp" 7 #if !defined(ACL_CLIENT_ONLY) && !defined(ACL_REDIS_DISABLE) 40 const std::vector<string>& keys,
41 const std::vector<string>& args);
43 const std::vector<const char*>& keys,
44 const std::vector<const char*>& args);
47 const std::vector<string>& keys,
48 const std::vector<string>& args);
50 const std::vector<const char*>& keys,
51 const std::vector<const char*>& args);
53 int script_exists(
const std::vector<string>& scripts,
54 std::vector<bool>& out);
55 int script_exists(
const std::vector<const char*>& scripts,
56 std::vector<bool>& out);
59 bool script_load(
const string& script,
string& out);
64 bool eval_status(
const char* script,
65 const std::vector<string>& keys,
66 const std::vector<string>& args,
67 const char* success =
"OK");
68 bool eval_number(
const char* script,
69 const std::vector<string>& keys,
70 const std::vector<string>& args,
72 bool eval_number64(
const char* script,
73 const std::vector<string>& keys,
74 const std::vector<string>& args,
76 int eval_string(
const char* script,
77 const std::vector<string>& keys,
78 const std::vector<string>& args,
81 bool evalsha_status(
const char* script,
82 const std::vector<string>& keys,
83 const std::vector<string>& args,
84 const char* success =
"OK");
85 bool evalsha_number(
const char* script,
86 const std::vector<string>& keys,
87 const std::vector<string>& args,
89 bool evalsha_number64(
const char* script,
90 const std::vector<string>& keys,
91 const std::vector<string>& args,
93 int evalsha_string(
const char* script,
94 const std::vector<string>& keys,
95 const std::vector<string>& args,
98 int eval_status(
const char* script,
99 const std::vector<string>& keys,
100 const std::vector<string>& args,
101 std::vector<bool>& out,
102 const char* success =
"OK");
103 int eval_number(
const char* script,
104 const std::vector<string>& keys,
105 const std::vector<string>& args,
106 std::vector<int>& out,
107 std::vector<bool>& status);
108 long long int eval_number64(
const char* script,
109 const std::vector<string>& keys,
110 const std::vector<string>& args,
111 std::vector<long long int>& out,
112 std::vector<bool>& status);
113 int eval_strings(
const char* script,
114 const std::vector<string>& keys,
115 const std::vector<string>& args,
116 std::vector<string>& out);
118 int evalsha_status(
const char* script,
119 const std::vector<string>& keys,
120 const std::vector<string>& args,
121 std::vector<bool>& out,
122 const char* success =
"OK");
123 int evalsha_number(
const char* script,
124 const std::vector<string>& keys,
125 const std::vector<string>& args,
126 std::vector<int>& out,
127 std::vector<bool>& status);
128 long long int evalsha_number64(
const char* script,
129 const std::vector<string>& keys,
130 const std::vector<string>& args,
131 std::vector<long long int>& out,
132 std::vector<bool>& status);
133 int evalsha_strings(
const char* script,
134 const std::vector<string>& keys,
135 const std::vector<string>& args,
136 std::vector<string>& out);
139 int eval_status(
const char* cmd,
const char* script,
140 const std::vector<string>& keys,
141 const std::vector<string>& args,
142 std::vector<bool>& out,
143 const char* success =
"OK");
144 int eval_number(
const char* cmd,
const char* script,
145 const std::vector<string>& keys,
146 const std::vector<string>& args,
147 std::vector<int>& out,
148 std::vector<bool>& status);
149 long long int eval_number64(
const char* cmd,
const char* script,
150 const std::vector<string>& keys,
151 const std::vector<string>& args,
152 std::vector<long long int>& out,
153 std::vector<bool>& status);
154 int eval_strings(
const char* cmd,
const char* script,
155 const std::vector<string>& keys,
156 const std::vector<string>& args,
157 std::vector<string>& out);
159 const redis_result* eval_cmd(
const char* cmd,
const char* script,
160 const std::vector<string>& keys,
161 const std::vector<string>& args);
162 const redis_result* eval_cmd(
const char* cmd,
const char* script,
163 const std::vector<const char*>& keys,
164 const std::vector<const char*>& args);
169 #endif // !defined(ACL_CLIENT_ONLY) && !defined(ACL_REDIS_DISABLE)
#define ACL_CPP_DEPRECATED