mirror of https://github.com/Genymobile/scrcpy
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
400 B
C
24 lines
400 B
C
#ifndef SCRCPY_H
|
|
#define SCRCPY_H
|
|
|
|
#include "common.h"
|
|
|
|
#include <stdbool.h>
|
|
#include "options.h"
|
|
|
|
enum scrcpy_exit_code {
|
|
// Normal program termination
|
|
SCRCPY_EXIT_SUCCESS,
|
|
|
|
// No connection could be established
|
|
SCRCPY_EXIT_FAILURE,
|
|
|
|
// Device was disconnected while running
|
|
SCRCPY_EXIT_DISCONNECTED,
|
|
};
|
|
|
|
enum scrcpy_exit_code
|
|
scrcpy(struct scrcpy_options *options);
|
|
|
|
#endif
|