void do_listing(struct conn * const c, struct list_options * const lo);
int get_num_files(struct conn * const c, const char * const pathname,
struct list_options * const lo);
void do_listing(struct conn * const c, struct list_options * const lo);
int get_num_files(struct conn * const c, const char * const pathname,
struct list_options * const lo);