diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2009-11-01 16:31:59 -0300 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2009-11-01 16:31:59 -0300 |
commit | df2f261ccb261447576b98b9e466f06daf33115d (patch) | |
tree | fbb802b7b019c806bea8e6d9b4c7dc12f6ede53d /dpip/dpip.h | |
parent | 29ea3975335bad3fa72afe8c1724d1d00355c396 (diff) |
Removed the write/fwrite mix in dpip. Introduced a_Dpip_dsh_trywrite()
Several cleanups and more error handling sprinkled all over too.
Diffstat (limited to 'dpip/dpip.h')
-rw-r--r-- | dpip/dpip.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dpip/dpip.h b/dpip/dpip.h index fffb9866..453b13e5 100644 --- a/dpip/dpip.h +++ b/dpip/dpip.h @@ -68,6 +68,7 @@ int a_Dpip_check_auth(const char *auth); Dsh *a_Dpip_dsh_new(int fd_in, int fd_out, int flush_sz); int a_Dpip_dsh_write(Dsh *dsh, int flush, const char *Data, int DataSize); int a_Dpip_dsh_write_str(Dsh *dsh, int flush, const char *str); +int a_Dpip_dsh_trywrite(Dsh *dsh, const char *Data, int DataSize); char *a_Dpip_dsh_read_token(Dsh *dsh, int blocking); void a_Dpip_dsh_close(Dsh *dsh); void a_Dpip_dsh_free(Dsh *dsh); |