Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
a01c5b13
"sdsalloc.h" did not exist on "0cb7c27d9cfafe83acb9c309a0f913b8993f82b5"
Commit
a01c5b13
authored
Nov 21, 2010
by
Ryan Tecco
Browse files
more extern "C" declarations for C++ compiles
parent
650df0f9
Changes
1
Show whitespace changes
Inline
Side-by-side
async.h
View file @
a01c5b13
...
@@ -31,6 +31,10 @@
...
@@ -31,6 +31,10 @@
#define __HIREDIS_ASYNC_H
#define __HIREDIS_ASYNC_H
#include "hiredis.h"
#include "hiredis.h"
#ifdef __cplusplus
extern
"C"
{
#endif
struct
redisAsyncContext
;
/* need forward declaration of redisAsyncContext */
struct
redisAsyncContext
;
/* need forward declaration of redisAsyncContext */
/* Reply callback prototype and container */
/* Reply callback prototype and container */
...
@@ -93,4 +97,8 @@ int redisvAsyncCommand(redisAsyncContext *ac, redisCallbackFn *fn, void *privdat
...
@@ -93,4 +97,8 @@ int redisvAsyncCommand(redisAsyncContext *ac, redisCallbackFn *fn, void *privdat
int
redisAsyncCommand
(
redisAsyncContext
*
ac
,
redisCallbackFn
*
fn
,
void
*
privdata
,
const
char
*
format
,
...);
int
redisAsyncCommand
(
redisAsyncContext
*
ac
,
redisCallbackFn
*
fn
,
void
*
privdata
,
const
char
*
format
,
...);
int
redisAsyncCommandArgv
(
redisAsyncContext
*
ac
,
redisCallbackFn
*
fn
,
void
*
privdata
,
int
argc
,
const
char
**
argv
,
const
size_t
*
argvlen
);
int
redisAsyncCommandArgv
(
redisAsyncContext
*
ac
,
redisCallbackFn
*
fn
,
void
*
privdata
,
int
argc
,
const
char
**
argv
,
const
size_t
*
argvlen
);
#ifdef __cplusplus
}
#endif
#endif
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment