mirror of
https://github.com/Genymobile/scrcpy.git
synced 2024-09-19 05:31:21 +02:00
15 lines
302 B
C
15 lines
302 B
C
|
#ifndef DEVICE_H
|
||
|
#define DEVICE_H
|
||
|
|
||
|
#include <SDL2/SDL_net.h>
|
||
|
#include <SDL2/SDL_stdinc.h>
|
||
|
|
||
|
#include "common.h"
|
||
|
|
||
|
#define DEVICE_NAME_FIELD_LENGTH 64
|
||
|
|
||
|
// name must be at least DEVICE_NAME_FIELD_LENGTH bytes
|
||
|
SDL_bool device_read_info(TCPsocket device_socket, char *name, struct size *frame_size);
|
||
|
|
||
|
#endif
|