Skip to content

Commit

Permalink
Expose ftps4_gen_filepath.
Browse files Browse the repository at this point in the history
  • Loading branch information
idc committed Dec 25, 2017
1 parent 7fe3a11 commit ba04345
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/ftps4.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,6 @@ int ftps4_ext_add_custom_command(const char *cmd, cmd_dispatch_func func);
int ftps4_ext_del_custom_command(const char *cmd);
void ftps4_ext_client_send_ctrl_msg(ftps4_client_info_t *client, const char *msg);
void ftps4_ext_client_send_data_msg(ftps4_client_info_t *client, const char *str);
void ftps4_gen_filepath(ftps4_client_info_t *client, char *dest_path);

#endif
5 changes: 5 additions & 0 deletions source/ftps4.c
Original file line number Diff line number Diff line change
Expand Up @@ -1109,3 +1109,8 @@ void ftps4_ext_client_send_data_msg(ftps4_client_info_t *client, const char *str
{
client_send_data_msg(client, str);
}

void ftps4_gen_filepath(ftps4_client_info_t *client, char *dest_path)
{
gen_filepath(client, dest_path);
}

0 comments on commit ba04345

Please sign in to comment.