|
Kannel: Open Source WAP and SMS gateway
svn-r5336
|
#include <unistd.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <dirent.h>#include <errno.h>#include "gwlib/gwlib.h"Go to the source code of this file.
Functions | |
| static int | count_file (const char *filename, const struct stat *sb, int tflag, void *ftwbuf) |
| static int | for_each_file (const Octstr *dir_s, int ignore_err, int(*cb)(const char *, const struct stat *, int, void *)) |
| int | main (int argc, char **argv) |
Variables | |
| static Counter * | counter |
|
static |
Definition at line 96 of file test_file_traversal.c.
References counter, and counter_increase().
Referenced by main().
|
static |
Definition at line 120 of file test_file_traversal.c.
References error(), filename, octstr_destroy(), octstr_format(), and octstr_get_cstr.
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 168 of file test_file_traversal.c.
References count_file(), counter, counter_create(), counter_destroy(), counter_set(), counter_value(), debug(), for_each_file(), gwlib_init(), gwlib_shutdown(), octstr_create, octstr_destroy(), and start.
|
static |
Definition at line 75 of file test_file_traversal.c.
Referenced by count_file(), and main().