2018-02-08 11:14:13 +01:00
|
|
|
#ifndef SCRCPY_H
|
|
|
|
#define SCRCPY_H
|
2017-12-12 15:12:07 +01:00
|
|
|
|
2021-01-08 19:24:51 +01:00
|
|
|
#include "common.h"
|
|
|
|
|
2019-03-02 23:52:22 +01:00
|
|
|
#include <stdbool.h>
|
2021-10-27 18:43:47 +02:00
|
|
|
#include "options.h"
|
2019-11-06 22:06:54 +01:00
|
|
|
|
2022-03-05 15:47:58 +01: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 15:12:07 +01:00
|
|
|
|
|
|
|
#endif
|