summaryrefslogtreecommitdiffstats
path: root/source3/client/clitar_proto.h
Commit message (Collapse)AuthorAgeFilesLines
* clitar: get tar context handle via helper functionDavid Disseldorp2014-02-191-0/+1
| | | | | | | | | Add and use tar_get_ctx() to get the tarmode context handle in client.c, rather than declaring an extern. Also, add checks for NULL context pointer arguments. Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* client.c, clitar.c: rename process_tar to tar_process, prepare codeAurélien Aptel2014-02-191-1/+1
| | | | | | Signed-off-by: Aurélien Aptel <aurelien.aptel@gmail.com> Reviewed-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* clitar.c, client.c: add flag to know if there's a tar operation to do.Aurélien Aptel2014-02-191-0/+1
| | | | | | | | | - remove tar_type global. Signed-off-by: Aurélien Aptel <aurelien.aptel@gmail.com> [ddiss@samba.org: rebase against lp_cli_maxprotocol() changes] Reviewed-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* implement argument parsing, split client_proto.hAurélien Aptel2014-02-191-0/+32
Signed-off-by: Aurélien Aptel <aurelien.aptel@gmail.com> Reviewed-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>