cacao  Release 0.1.03-dev
Compute And Control For Adaptive Optics
standalone_dependencies.h File Reference
#include <CLIcore.h>
#include <time.h>
#include <errno.h>
#include "ImageStreamIO.h"
Include dependency graph for standalone_dependencies.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SHAREDSHMDIR   "/milk/shm"
 
#define SHAREDPROCDIR   "/milk/proc"
 
#define CLIPID   getpid()
 
#define RETURN_SUCCESS   0
 
#define RETURN_FAILURE   1
 
#define RETURN_MISSINGFILE   2
 
#define DEBUG_TRACEPOINT(...)
 

Typedefs

typedef int errno_t
 
typedef long imageID
 
typedef long variableID
 

Functions

struct timespec info_time_diff (struct timespec start, struct timespec end)
 
int print_header (const char *str, char c)
 
void quick_sort2l (double *array, long *array1, long count)
 
void quick_sort2l_double (double *array, long *array1, long count)
 
void quick_sort_long (long *array, long count)
 
int printERROR (const char *file, const char *func, int line, char *errmessage)
 

Macro Definition Documentation

◆ CLIPID

#define CLIPID   getpid()

◆ DEBUG_TRACEPOINT

#define DEBUG_TRACEPOINT (   ...)

◆ RETURN_FAILURE

#define RETURN_FAILURE   1

◆ RETURN_MISSINGFILE

#define RETURN_MISSINGFILE   2

◆ RETURN_SUCCESS

#define RETURN_SUCCESS   0

◆ SHAREDPROCDIR

#define SHAREDPROCDIR   "/milk/proc"

◆ SHAREDSHMDIR

#define SHAREDSHMDIR   "/milk/shm"

default location of file mapped semaphores, can be over-ridden by env variable MILK_SHM_DIR

Typedef Documentation

◆ errno_t

typedef int errno_t

◆ imageID

typedef long imageID

◆ variableID

typedef long variableID

Function Documentation

◆ info_time_diff()

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

◆ 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

◆ 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 
)