• Skip to content
  • Skip to link menu
KDE 4.0 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

kstars

indicom.h File Reference


Detailed Description

Implementations for common driver routines.

The INDI Common Routine Library provides formatting and serial routines employed by many INDI drivers. Currently, the library is composed of the following sections:

  • Formatting Functions
  • Conversion Functions
  • TTY Functions

Author:
Jason Harris

Elwood C. Downey

Jasem Mutlaq

Definition in file indicom.h.

#include <time.h>
#include <config.h>

Include dependency graph for indicom.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Defines

#define J2000   2451545.0
#define ERRMSG_SIZE   1024
#define INDI_DEBUG

Enumerations

enum  TTY_ERROR {
  TTY_OK = 0, TTY_READ_ERROR = -1, TTY_WRITE_ERROR = -2, TTY_SELECT_ERROR = -3,
  TTY_TIME_OUT = -4, TTY_PORT_FAILURE = -5, TTY_PARAM_ERROR = -6, TTY_ERRNO = -7
}

Functions

int tty_read (int fd, char *buf, int nbytes, int timeout, int *nbytes_read)
int tty_read_section (int fd, char *buf, char stop_char, int timeout, int *nbytes_read)
int tty_write (int fd, const char *buffer, int nbytes, int *nbytes_written)
int tty_write_string (int fd, const char *buffer, int *nbytes_written)
int tty_connect (const char *device, int bit_rate, int word_size, int parity, int stop_bits, int *fd)
int tty_disconnect (int fd)
void tty_error_msg (int err_code, char *err_msg, int err_msg_len)
int tty_timeout (int fd, int timeout)
int fs_sexa (char *out, double a, int w, int fracbase)
int f_scansexa (const char *str0, double *dp)
void getSexComponents (double value, int *d, int *m, int *s)
int numberFormat (char *buf, const char *format, double value)
const char * timestamp (void)

Variables

const char * Direction []
const char * SolarSystem []

Define Documentation

#define ERRMSG_SIZE   1024

Definition at line 53 of file indicom.h.

#define INDI_DEBUG

Definition at line 54 of file indicom.h.

#define J2000   2451545.0

Definition at line 52 of file indicom.h.


Enumeration Type Documentation

enum TTY_ERROR

Enumerator:
TTY_OK 
TTY_READ_ERROR 
TTY_WRITE_ERROR 
TTY_SELECT_ERROR 
TTY_TIME_OUT 
TTY_PORT_FAILURE 
TTY_PARAM_ERROR 
TTY_ERRNO 

Definition at line 61 of file indicom.h.


Variable Documentation

const char* Direction[]

const char* SolarSystem[]

kstars

Skip menu "kstars"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal