wps_ufd.c File Reference
#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.
Define Documentation
#define UFD_DIR1 "%s/SMRTNTKY" |
#define UFD_DIR2 UFD_DIR1 "/WFAWSC" |
#define UFD_FILE UFD_DIR2 "/%s" |
Function Documentation
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 struct wpabuf* read_ufd |
( |
void * |
priv |
) |
[static, read] |
static int ufd_mkdir |
( |
const char * |
path |
) |
[static] |
static int wps_get_dev_pwd_e_file_name |
( |
char * |
path, |
|
|
char * |
file_name | |
|
) |
| | [static] |
static int write_ufd |
( |
void * |
priv, |
|
|
struct wpabuf * |
buf | |
|
) |
| | [static] |
Variable Documentation