Skip to content

Commit

Permalink
Add r2pipe_ R_API functions to r_socket.h ##r2pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
ret2libc authored and radare committed Jan 9, 2019
1 parent 4a5dafe commit ba6d256
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions libr/include/r_socket.h
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,14 @@ R_API char *rap_cmdf(R2Pipe *rap, const char *fmt, ...);

R_API int rap_write(R2Pipe *rap, const char *str);
R_API char *rap_read(R2Pipe *rap);

R_API int r2pipe_write(R2Pipe *r2pipe, const char *str);
R_API char *r2pipe_read(R2Pipe *r2pipe);
R_API int r2pipe_close(R2Pipe *r2pipe);
R_API R2Pipe *r2pipe_open_corebind(RCoreBind *coreb);
R_API R2Pipe *r2pipe_open(const char *cmd);
R_API char *r2pipe_cmd(R2Pipe *r2pipe, const char *str);
R_API char *r2pipe_cmdf(R2Pipe *r2pipe, const char *fmt, ...);
#endif

#ifdef __cplusplus
Expand Down

0 comments on commit ba6d256

Please sign in to comment.