2018-02-08 18:14:13 +08:00
|
|
|
#ifndef SCRCPY_H
|
|
|
|
#define SCRCPY_H
|
2017-12-12 22:12:07 +08:00
|
|
|
|
2021-01-09 02:24:51 +08:00
|
|
|
#include "common.h"
|
|
|
|
|
2019-03-03 06:52:22 +08:00
|
|
|
#include <stdbool.h>
|
2021-10-28 00:43:47 +08:00
|
|
|
#include "options.h"
|
2019-11-07 05:06:54 +08:00
|
|
|
|
2022-03-05 22:47:58 +08:00
|
|
|
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
|
2021-09-10 18:57:35 +08:00
|
|
|
scrcpy(struct scrcpy_options *options);
|
2017-12-12 22:12:07 +08:00
|
|
|
|
|
|
|
#endif
|