File: osdsh.h

package info (click to toggle)
osdsh 0.7.0-10.2
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 452 kB
  • ctags: 346
  • sloc: ansic: 1,063; tcl: 335; makefile: 73
file content (49 lines) | stat: -rw-r--r-- 960 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <getopt.h>
#include <string.h>
#include <ctype.h>
#include <fcntl.h>
#include <pthread.h>
#include <dlfcn.h>
#include <signal.h>

#include <linux/limits.h>
#include <linux/stat.h>
#include <linux/soundcard.h>

#include <xosd.h>

/*============================== settings_t ==================================*/

typedef struct settings_t {
    xosd *myosd;
    char font[BUFSIZ + 1];
    char color[BUFSIZ + 1];
    char ocolor[BUFSIZ + 1];
    int soffset;
    int ooffset;
    int xoffset;
    int yoffset;
    xosd_align align;
    xosd_pos position;
    int displaying;
    int delay;
    pthread_t mythread;
} settings_t;

typedef struct plugininfo_t {
    int whoami;
    int active;
    void *module;
    char *file;
    char *myname;
    int (*isitmine)();
} plugininfo_t;

/* HACK */
char mixerdevice[PATH_MAX + 1];