Instrument Neutral Distributed Interface INDI  1.9.2
Classes | Typedefs | Functions
userio.h File Reference
#include <stdarg.h>
#include <sys/types.h>

Go to the source code of this file.

Classes

struct  userio
 

Typedefs

typedef struct userio userio
 

Functions

const struct useriouserio_file ()
 
int userio_printf (const struct userio *io, void *user, const char *format,...)
 
int userio_vprintf (const struct userio *io, void *user, const char *format, va_list arg)
 
size_t userio_write (const struct userio *io, void *user, const void *ptr, size_t count)
 
int userio_putc (const struct userio *io, void *user, int ch)
 
int userio_prints (const struct userio *io, void *user, const char *str)
 
size_t userio_xml_escape (const struct userio *io, void *user, const char *src)
 
void userio_xmlv1 (const userio *io, void *user)
 

Typedef Documentation

◆ userio

typedef struct userio userio

Function Documentation

◆ userio_file()

const struct userio* userio_file ( )

Definition at line 38 of file userio.c.

◆ userio_printf()

int userio_printf ( const struct userio io,
void *  user,
const char *  format,
  ... 
)

Definition at line 43 of file userio.c.

◆ userio_prints()

int userio_prints ( const struct userio io,
void *  user,
const char *  str 
)

Definition at line 63 of file userio.c.

◆ userio_putc()

int userio_putc ( const struct userio io,
void *  user,
int  ch 
)

Definition at line 68 of file userio.c.

◆ userio_vprintf()

int userio_vprintf ( const struct userio io,
void *  user,
const char *  format,
va_list  arg 
)

Definition at line 53 of file userio.c.

◆ userio_write()

size_t userio_write ( const struct userio io,
void *  user,
const void *  ptr,
size_t  count 
)

Definition at line 58 of file userio.c.

◆ userio_xml_escape()

size_t userio_xml_escape ( const struct userio io,
void *  user,
const char *  src 
)

Definition at line 74 of file userio.c.

◆ userio_xmlv1()

void userio_xmlv1 ( const userio io,
void *  user 
)

Definition at line 103 of file userio.c.