~ubuntu-branches/ubuntu/raring/uml-utilities/raring

« back to all changes in this revision

Viewing changes to uml_net/output.h

  • Committer: Bazaar Package Importer
  • Author(s): Matt Zimmerman
  • Date: 2002-04-25 22:22:36 UTC
  • Revision ID: james.westby@ubuntu.com-20020425222236-c77x5ypvsn9cbxi8
Tags: upstream-20020415
ImportĀ upstreamĀ versionĀ 20020415

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Copyright 2001 Jeff Dike and others
 
2
 * Licensed under the GPL
 
3
 */
 
4
 
 
5
#ifndef __OUTPUT_H
 
6
#define __OUTPUT_H
 
7
 
 
8
struct output {
 
9
  int total;
 
10
  int used;
 
11
  char *buffer;
 
12
};
 
13
 
 
14
#define INIT_OUTPUT { 0, 0, NULL }
 
15
 
 
16
extern void write_output(int fd, struct output *output);
 
17
extern void add_output(struct output *output, char *new, int len);
 
18
extern void output_errno(struct output *output, char *str);
 
19
 
 
20
#endif