diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-09-11 14:38:47 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-09-11 14:38:47 +0900 |
| commit | 884c8093d63402a1ad0b502244b791e3c6782be3 (patch) | |
| tree | a600d4ab0d431a2bdfe4c15b70df43c14fbd8dd0 /debian/transcode/transcode-1.1.7/src/socket.h | |
| parent | 14e1aa2006796f147f3f4811fb908a6b01e79253 (diff) | |
| download | extra-dependencies-884c8093d63402a1ad0b502244b791e3c6782be3.tar.gz extra-dependencies-884c8093d63402a1ad0b502244b791e3c6782be3.zip | |
Added debian extra dependency packages.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/transcode/transcode-1.1.7/src/socket.h')
| -rw-r--r-- | debian/transcode/transcode-1.1.7/src/socket.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/debian/transcode/transcode-1.1.7/src/socket.h b/debian/transcode/transcode-1.1.7/src/socket.h new file mode 100644 index 00000000..e96e3b02 --- /dev/null +++ b/debian/transcode/transcode-1.1.7/src/socket.h @@ -0,0 +1,59 @@ +/* socket.h -- include file for control socket routines + * Written by Andrew Church <achurch@achurch.org> + * + * This file is part of transcode, a video stream processing tool. + * transcode is free software, distributable under the terms of the GNU + * General Public License (version 2 or later). See the file COPYING + * for details. + */ + +#ifndef SOCKET_H +#define SOCKET_H + +#include <pthread.h> + +/*************************************************************************/ + +/* External interface. */ +int tc_socket_init(const char *socket_path); +void tc_socket_fini(void); +void tc_socket_poll(void); +void tc_socket_wait(void); +void tc_socket_submit(const char *str); + +/* Variables and constants for communicating with the "pv" module + * (FIXME: these should go away) */ +extern pthread_mutex_t tc_socket_msg_lock; +extern int tc_socket_msg_arg; +enum tc_socket_msg_cmd_enum { + TC_SOCK_PV_NONE = 0, + TC_SOCK_PV_PAUSE, + TC_SOCK_PV_DRAW, + TC_SOCK_PV_UNDO, + TC_SOCK_PV_SLOW_FW, + TC_SOCK_PV_SLOW_BW, + TC_SOCK_PV_FAST_FW, + TC_SOCK_PV_FAST_BW, + TC_SOCK_PV_SLOWER, + TC_SOCK_PV_FASTER, + TC_SOCK_PV_TOGGLE, + TC_SOCK_PV_ROTATE, + TC_SOCK_PV_DISPLAY, + TC_SOCK_PV_SAVE_JPG, +}; +extern enum tc_socket_msg_cmd_enum tc_socket_msg_cmd; + + +/*************************************************************************/ + +#endif /* SOCKET_H */ + +/* + * Local variables: + * c-file-style: "stroustrup" + * c-file-offsets: ((case-label . *) (statement-case-intro . *)) + * indent-tabs-mode: nil + * End: + * + * vim: expandtab shiftwidth=4: + */ |
