mirror of
https://github.com/vanilla-wiiu/vanilla.git
synced 2026-10-28 09:43:51 +00:00
- Port vanilla-pipe on Android for users with rooted devices and compatible Wi-Fi hardware - Drop OpenSSL as a build dependency (only used for hostap's crypto backend, but didn't work on Android so now we're using hostap's internal crypto) - Improvements to event loop (targets 180Hz input polling + 60Hz video display) - Implement MediaCodec hardware decoding on Android - Use smaller and simpler DHCP client
25 lines
842 B
C
25 lines
842 B
C
#ifndef VANILLA_WPA_H
|
|
#define VANILLA_WPA_H
|
|
|
|
#include <stdint.h>
|
|
#include <stdlib.h>
|
|
#include <sys/types.h>
|
|
|
|
struct wpa_ctrl;
|
|
|
|
int wpa_ctrl_command(struct wpa_ctrl *ctrl, const char *cmd, char *buf,
|
|
size_t *buf_len);
|
|
int start_wpa_supplicant(const char *wireless_interface, const char *config_file, pid_t *pid);
|
|
|
|
int is_networkmanager_managing_device(const char *wireless_interface, int *is_managed);
|
|
int disable_networkmanager_on_device(const char *wireless_interface);
|
|
int enable_networkmanager_on_device(const char *wireless_interface);
|
|
|
|
void nlprint(const char *fmt, ...);
|
|
ssize_t run_process_and_read_stdout(const char **args, char *read_buffer,
|
|
size_t read_buffer_len);
|
|
|
|
void pipe_listen(int local, const char *wireless_interface, const char *log_file);
|
|
|
|
#endif // VANILLA_WPA_H
|