Linuxpops  3.01.04
Spectral Anaysis Package for Single Dish Data
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
caclib_proto.h File Reference
#include "sdd.h"
#include "header.h"

Go to the source code of this file.

Functions

struct DEST * find_dest (char *name)
 
struct DEST * find_port (int p)
 
int bind_any (int fd)
 
struct BOUND * sock_bind (char *mbname)
 
struct SOCK * sock_connect (char *mbname)
 
int read_sock (struct SOCK *s, char *msg, int *l)
 
int sock_print_fds (void)
 
int findSocketsButThese (char *name, struct SOCK *rss[], int *rssn)
 
int sock_close (char *name)
 
struct SOCK * last_msg (void)
 
char * sock_name (struct SOCK *handle)
 
int sock_fd (struct SOCK *handle)
 
int sock_bufct (int bufct)
 
struct SOCK * sock_find (char *mbname)
 
int sock_block (struct SOCK *s, int onoroff)
 
int sock_intr (int flag)
 
int sock_sel (char *message, int *l, int *p, int n, int tim, int rd_in)
 
int sock_ssel (struct SOCK *ss[], int ns, char *message, int *l, int *p, int n, int tim, int rd_in)
 
int sock_fastsel (char *message, int *l, int *p, int n, struct timeval *tim, int rd_in)
 
int sock_only (struct SOCK *handle, char *message, int tim)
 
int sock_only_f (struct SOCK *handle, char *message, double ftime)
 
int sock_poll (struct SOCK *handle, char *message, int *plen)
 
int accept_sock (void)
 
int readtm (int fd, char *buf, int len)
 
int sock_send (struct SOCK *s, char *message)
 
int sock_write (struct SOCK *s, char *message, int l)
 
int log_msg (const char *fmt,...)
 
int log_perror (char *msg)
 
int log_eventdEnable (int enable)
 
int log_open (char *name, int how)
 
int newlog2datefile (void)
 
int log_newlog (void)
 
char * getNewCtime (int offset)
 
int setCactusEnvironment (void)
 
int getInteractive (void)
 
int smart_log_open (char *name, int offset)
 
int f_get_cactus_env__ (void)
 
int iamwho (char *user, char *display)
 
int getntok (int ntok, char *dlm, char *str, char *token)
 
char * strelem (int ntok, char *dlm, char *str)
 
char * strcmprs (char *str)
 
int deNewLineIt (char *buf)
 
double ctod (char *str)
 
long ctoma (char *str)
 
char * strlwr (char *str)
 
char * strupr (char *str)
 
char * strbin (long n)
 
int sexagesimal (double dang, char *str, int prec)
 
char * get_time (void)
 
int isnumber (char *string)
 
int ishex (char *string)
 
int atox (char *s)
 
int sendProcessTime (int indx, int t, int pid)
 
int checkSendProc (int id, int pid)
 
int send_process_info_internal (int indx, int iNum, char *iBuf)
 
int sendProcessInfo (int indx, int pid, int type)
 
int write_sdd (char *name, struct HEADER *h, char *d)
 
int new_sdd (char *name)
 
int verify_sdd (char *name, float *pscan)
 
int write_boot (int fd, struct BOOTSTRAP *b, int len)
 
int write_dir (int fd, struct DIRECTORY *d, int len)
 
struct BOOTSTRAP * last_bootb (void)
 
int delay (double dc)
 
int getLongYear (int offset)
 
int getDoy (int offset)
 
int getYear (int offset)
 
int getMonth (int offset)
 
int getDom (int offset)
 
char * getDate (int offset)
 
char * getLogDate (int offset)
 
char * getIncFileName (int offset)
 
char * getSlashDate (int offset)
 
char * getIncDate (int offset)
 
char * getSDate (int offset)
 
char * getRDate (int offset)
 
double getNraoDate (void)
 
double getTimeD (int offset)
 
int getMinute (int offset)
 
int getHour (int offset)
 
char * getTimeS (int offset)
 
char * getcTime (int offset)
 
double getmJulDate (int offset)
 
int breakmJulian (double jd, int *yr, int *mo, int *day, int *hr, int *min, int *sec)
 
double makeJulDate (int im, int id, int iy, double ut)
 
int findDataVersion (char *ini, char *dir)
 
double deg_sin (double angle)
 
double deg_cos (double angle)
 
double deg_tan (double angle)
 
double deg_asin (double value)
 
double deg_acos (double value)
 
double deg_atan (double value)
 

Function Documentation

int accept_sock ( void  )
int atox ( char *  s)
int bind_any ( int  fd)
int breakmJulian ( double  jd,
int *  yr,
int *  mo,
int *  day,
int *  hr,
int *  min,
int *  sec 
)
int checkSendProc ( int  id,
int  pid 
)
double ctod ( char *  str)
long ctoma ( char *  str)
double deg_acos ( double  value)
double deg_asin ( double  value)
double deg_atan ( double  value)
double deg_cos ( double  angle)
double deg_sin ( double  angle)
double deg_tan ( double  angle)
int delay ( double  dc)
int deNewLineIt ( char *  buf)
int f_get_cactus_env__ ( void  )
struct DEST* find_dest ( char *  name)
struct DEST* find_port ( int  p)
int findDataVersion ( char *  ini,
char *  dir 
)
int findSocketsButThese ( char *  name,
struct SOCK *  rss[],
int *  rssn 
)
char* get_time ( void  )
char* getcTime ( int  offset)
char* getDate ( int  offset)
int getDom ( int  offset)
int getDoy ( int  offset)
int getHour ( int  offset)
char* getIncDate ( int  offset)
char* getIncFileName ( int  offset)
int getInteractive ( void  )
char* getLogDate ( int  offset)
int getLongYear ( int  offset)
int getMinute ( int  offset)
double getmJulDate ( int  offset)
int getMonth ( int  offset)
char* getNewCtime ( int  offset)
double getNraoDate ( void  )
int getntok ( int  ntok,
char *  dlm,
char *  str,
char *  token 
)
char* getRDate ( int  offset)
char* getSDate ( int  offset)
char* getSlashDate ( int  offset)
double getTimeD ( int  offset)
char* getTimeS ( int  offset)
int getYear ( int  offset)
int iamwho ( char *  user,
char *  display 
)
int ishex ( char *  string)
int isnumber ( char *  string)
struct BOOTSTRAP* last_bootb ( void  )
struct SOCK* last_msg ( void  )
int log_eventdEnable ( int  enable)
int log_msg ( const char *  fmt,
  ... 
)
int log_newlog ( void  )
int log_open ( char *  name,
int  how 
)
int log_perror ( char *  msg)
double makeJulDate ( int  im,
int  id,
int  iy,
double  ut 
)
int new_sdd ( char *  name)
int newlog2datefile ( void  )
int read_sock ( struct SOCK *  s,
char *  msg,
int *  l 
)
int readtm ( int  fd,
char *  buf,
int  len 
)
int send_process_info_internal ( int  indx,
int  iNum,
char *  iBuf 
)
int sendProcessInfo ( int  indx,
int  pid,
int  type 
)
int sendProcessTime ( int  indx,
int  t,
int  pid 
)
int setCactusEnvironment ( void  )
int sexagesimal ( double  dang,
char *  str,
int  prec 
)
int smart_log_open ( char *  name,
int  offset 
)
struct BOUND* sock_bind ( char *  mbname)
int sock_block ( struct SOCK *  s,
int  onoroff 
)
int sock_bufct ( int  bufct)
int sock_close ( char *  name)
struct SOCK* sock_connect ( char *  mbname)
int sock_fastsel ( char *  message,
int *  l,
int *  p,
int  n,
struct timeval *  tim,
int  rd_in 
)
int sock_fd ( struct SOCK *  handle)
struct SOCK* sock_find ( char *  mbname)
int sock_intr ( int  flag)
char* sock_name ( struct SOCK *  handle)
int sock_only ( struct SOCK *  handle,
char *  message,
int  tim 
)
int sock_only_f ( struct SOCK *  handle,
char *  message,
double  ftime 
)
int sock_poll ( struct SOCK *  handle,
char *  message,
int *  plen 
)
int sock_print_fds ( void  )
int sock_sel ( char *  message,
int *  l,
int *  p,
int  n,
int  tim,
int  rd_in 
)
int sock_send ( struct SOCK *  s,
char *  message 
)
int sock_ssel ( struct SOCK *  ss[],
int  ns,
char *  message,
int *  l,
int *  p,
int  n,
int  tim,
int  rd_in 
)
int sock_write ( struct SOCK *  s,
char *  message,
int  l 
)
char* strbin ( long  n)
char* strcmprs ( char *  str)
char* strelem ( int  ntok,
char *  dlm,
char *  str 
)
char* strlwr ( char *  str)
char* strupr ( char *  str)
int verify_sdd ( char *  name,
float *  pscan 
)
int write_boot ( int  fd,
struct BOOTSTRAP *  b,
int  len 
)
int write_dir ( int  fd,
struct DIRECTORY *  d,
int  len 
)
int write_sdd ( char *  name,
struct HEADER *  h,
char *  d 
)