summaryrefslogtreecommitdiff
path: root/monitor_italk.c
blob: b9ee455e3535dcf006e250e2f4d65be288a7b2f6 (plain)
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
50
51
52
53
54
/* $Id$ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <ctype.h>
#ifndef S_SPLINT_S
#include <unistd.h>
#endif /* S_SPLINT_S */
#include <stdarg.h>
#include <stdbool.h>
#include <assert.h>

#include "gpsd_config.h"
#ifdef HAVE_NCURSES_H
#include <ncurses.h>
#else
#include <curses.h>
#endif /* HAVE_NCURSES_H */
#include "gpsd.h"

#include "bits.h"
#include "gpsmon.h"

#ifdef ITRAX_ENABLE
extern const struct gps_type_t italk_binary;

static bool italk_initialize(void)
{
    return true;
}

static void italk_update(void)
{
}

static int italk_command(char line[])
{
    return COMMAND_UNKNOWN;
}

static void italk_wrap(void)
{
}

const struct monitor_object_t italk_mmt = {
    .initialize = italk_initialize,
    .update = italk_update,
    .command = NULL,
    .wrap = NULL,
    .min_y = 20, .min_x = 80,	/* size of the device window */
    .driver = &italk_binary,
};
#endif