(trunk libT) make rpcimpl.h includable from C++

M    rpcimpl.h
This commit is contained in:
Charles Kerr 2009-03-25 18:41:48 +00:00
parent 81a01fe1d3
commit 81c431d006
1 changed files with 8 additions and 0 deletions

View File

@ -21,6 +21,10 @@ extern "C" {
**** RPC processing
***/
#ifdef __cplusplus
extern "C" {
#endif
struct tr_benc;
typedef void( *tr_rpc_response_func )( tr_session * session,
@ -49,4 +53,8 @@ void tr_rpc_parse_list_str( struct tr_benc * setme,
}
#endif
#ifdef __cplusplus
}
#endif
#endif /* TR_RPC_H */