#include "includes.h"
#include "common.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <fcntl.h>
#include <dirent.h>
#include "wps/wps.h"
#include "wps/wps_i.h"
Go to the source code of this file.
Classes | |
struct | wps_ufd_data |
Defines | |
#define | UFD_DIR1 "%s/SMRTNTKY" |
#define | UFD_DIR2 UFD_DIR1 "/WFAWSC" |
#define | UFD_FILE UFD_DIR2 "/%s" |
Functions | |
static void | deinit_ufd (void *priv) |
static int | dev_pwd_e_file_filter (const struct dirent *entry) |
static int | get_file_name (struct wps_context *wps, int registrar, const char *path, char *file_name) |
static void * | init_ufd (struct wps_context *wps, struct oob_device_data *oob_dev, int registrar) |
static struct wpabuf * | read_ufd (void *priv) |
static int | ufd_mkdir (const char *path) |
static int | wps_get_dev_pwd_e_file_name (char *path, char *file_name) |
static int | write_ufd (void *priv, struct wpabuf *buf) |
Variables | |
struct oob_device_data | oob_ufd_device_data |
static void deinit_ufd | ( | void * | priv | ) | [static] |
static int dev_pwd_e_file_filter | ( | const struct dirent * | entry | ) | [static] |
static int get_file_name | ( | struct wps_context * | wps, |
int | registrar, | ||
const char * | path, | ||
char * | file_name | ||
) | [static] |
static void* init_ufd | ( | struct wps_context * | wps, |
struct oob_device_data * | oob_dev, | ||
int | registrar | ||
) | [static] |
static int wps_get_dev_pwd_e_file_name | ( | char * | path, |
char * | file_name | ||
) | [static] |