File: userui_skeleton.c

package info (click to toggle)
tuxonice-userui 1.1%2Bdfsg1.gc3bdd83-4
  • links: PTS, VCS
  • area: contrib
  • in suites: bookworm, bullseye, buster, stretch
  • size: 664 kB
  • ctags: 2,034
  • sloc: ansic: 5,786; makefile: 91; sh: 63; python: 46
file content (47 lines) | stat: -rw-r--r-- 1,204 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
/*
 * userui_skeleton.c - Skeleton userspace user interface module.
 *
 * Copyright (C) 2005, Bernard Blackham <bernard@blackham.com.au>
 * Copyright (C) 2006-2009, Nigel Cunningham <nigel@tuxonice.net>
 * 
 * This file is subject to the terms and conditions of the GNU General Public
 * License v2.  See the file COPYING in the main directory of this archive for
 * more details.
 *
 */

#include "userui.h"

static void skeleton_prepare() {
}

static void skeleton_cleanup() {
}

static void skeleton_message(unsigned long type, unsigned long level, int normally_logged, char *skeleton) {
}

static void skeleton_update_progress(unsigned long value, unsigned long maximum, char *skeleton) {
}

static void skeleton_log_level_change(int loglevel) {
}

static void skeleton_redraw() {
}

static void skeleton_keypress(int key) {
}

static struct userui_ops userui_skeleton_ops = {
	.name = "skeleton",
	.prepare = skeleton_prepare,
	.cleanup = skeleton_cleanup,
	.message = skeleton_message,
	.update_progress = skeleton_update_progress,
	.log_level_change = skeleton_log_level_change,
	.redraw = skeleton_redraw,
	.keypress = skeleton_keypress,
};

struct userui_ops *userui_ops = &userui_skeleton_ops;