File: output.h

package info (click to toggle)
uml-utilities 20070815.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 728 kB
  • sloc: ansic: 3,391; perl: 1,277; makefile: 239; exp: 129; sh: 122
file content (20 lines) | stat: -rw-r--r-- 398 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* Copyright 2001 Jeff Dike and others
 * Licensed under the GPL
 */

#ifndef __OUTPUT_H
#define __OUTPUT_H

struct output {
  int total;
  int used;
  char *buffer;
};

#define INIT_OUTPUT { 0, 0, NULL }

extern void write_output(int fd, struct output *output);
extern void add_output(struct output *output, char *new, int len);
extern void output_errno(struct output *output, char *str);

#endif