cacao  Release 0.1.03-dev
Compute And Control For Adaptive Optics
standalone_dependencies.c File Reference
#include "standalone_dependencies.h"
#include <ncurses.h>
#include <string.h>
#include <time.h>
#include "streamCTRL.h"
Include dependency graph for standalone_dependencies.c:

Macros

#define _GNU_SOURCE
 

Functions

struct timespec info_time_diff (struct timespec start, struct timespec end)
 
int print_header (const char *str, char c)
 
void qs2l (double *array, long *array1, long left, long right)
 
void quick_sort2l (double *array, long *array1, long count)
 
void qs2l_double (double *array, long *array1, long left, long right)
 
void quick_sort2l_double (double *array, long *array1, long count)
 
void qs_long (long *array, long left, long right)
 
void quick_sort_long (long *array, long count)
 
int printERROR (const char *file, const char *func, int line, char *errmessage)
 
int file_exists (const char *restrict file_name)
 
int is_fits_file (const char *restrict file_name)
 

Variables

static int wrow
 
static int wcol
 
int C_ERRNO =0
 

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE

Function Documentation

◆ file_exists()

int file_exists ( const char *restrict  file_name)

◆ info_time_diff()

struct timespec info_time_diff ( struct timespec  start,
struct timespec  end 
)

◆ is_fits_file()

int is_fits_file ( const char *restrict  file_name)

◆ print_header()

int print_header ( const char *  str,
char  c 
)

◆ printERROR()

int printERROR ( const char *  file,
const char *  func,
int  line,
char *  errmessage 
)

Purpose

Print error string

Arguments

Parameters
[in]fileCHAR* file name from which error is issued
[in]funcCHAR* function name from which error is issued
[in]lineint line number from which error is issued
[in]warnmessageCHAR* error message to be printed

◆ qs2l()

void qs2l ( double *  array,
long *  array1,
long  left,
long  right 
)

◆ qs2l_double()

void qs2l_double ( double *  array,
long *  array1,
long  left,
long  right 
)

◆ qs_long()

void qs_long ( long *  array,
long  left,
long  right 
)

◆ quick_sort2l()

void quick_sort2l ( double *  array,
long *  array1,
long  count 
)

◆ quick_sort2l_double()

void quick_sort2l_double ( double *  array,
long *  array1,
long  count 
)

◆ quick_sort_long()

void quick_sort_long ( long *  array,
long  count 
)

Variable Documentation

◆ C_ERRNO

int C_ERRNO =0

◆ wcol

int wcol
static

◆ wrow

int wrow
static