Hamlib  1.2.15
Data Structures | Defines | Functions
rot_reg.c File Reference

Dynamic registration of rotator backends. More...

#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <stdio.h>
#include <sys/types.h>
#include <ltdl.h>
#include <hamlib/rotator.h>

Data Structures

struct  rot_list

Defines

#define PATH_MAX   1024
#define ROT_BACKEND_MAX   32
#define ROTLSTHASHSZ   16
#define HASH_FUNC(a)   ((a)%ROTLSTHASHSZ)
#define MAXFUNCNAMELEN   64
#define PREFIX   "hamlib-"

Functions

int rot_register (const struct rot_caps *caps)
struct rot_capsrot_get_caps (rot_model_t rot_model)
int rot_check_backend (rot_model_t rot_model)
int rot_unregister (rot_model_t rot_model)
int rot_list_foreach (int(*cfunc)(const struct rot_caps *, char *), char *data)
rot_model_t rot_probe_all (hamlib_port_t *p)
int rot_load_all_backends ()
int rot_load_backend (const char *be_name)

Detailed Description

Dynamic registration of rotator backends.

Similar to register.c doc todo: Let's explain what's going on here!

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Generated by doxygen 1.7.6.1

Hamlib documentation for version 1.2.15 -- Thu Feb 2 2012 21:37:28
Project page: http://www.hamlib.org