refactor(landerctl): split some files
This commit is contained in:
parent
8b7ce0085e
commit
16a7af6865
3 changed files with 131 additions and 115 deletions
|
|
@ -74,9 +74,17 @@ landerctl_err landerctl_post_short(landerctl_ctx *ctx);
|
|||
landerctl_err landerctl_post_paste(landerctl_ctx *ctx);
|
||||
landerctl_err landerctl_post_file(landerctl_ctx *ctx);
|
||||
|
||||
int landerctl_parse_args(landerctl_args *out, int argc, char **argv);
|
||||
|
||||
int landerctl_cmd_short(landerctl_args *args);
|
||||
int landerctl_cmd_paste(landerctl_args *args);
|
||||
int landerctl_cmd_file(landerctl_args *args);
|
||||
int landerctl_parse_args(landerctl_args *out, int argc, char **argv);
|
||||
|
||||
int landerctl_curl_init(landerctl_curl *out);
|
||||
int landerctl_curl_set_common(landerctl_curl *curl, landerctl_args *args,
|
||||
const char *key);
|
||||
int landerctl_curl_perform(landerctl_curl *curl);
|
||||
int landerctl_curl_inspect(landerctl_curl *curl, landerctl_args *args);
|
||||
void landerctl_curl_cleanup(landerctl_curl *curl);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue