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 ROT_BACKEND_MAX   32
#define ROTLSTHASHSZ   16
#define HASH_FUNC(a)   ((a)%ROTLSTHASHSZ)
#define MAXFUNCNAMELEN   64
#define PREFIX   "hamlib-"

Functions

int HAMLIB_API rot_register (const struct rot_caps *caps)
struct rot_caps *HAMLIB_API rot_get_caps (rot_model_t rot_model)
int HAMLIB_API rot_check_backend (rot_model_t rot_model)
int HAMLIB_API rot_unregister (rot_model_t rot_model)
int HAMLIB_API rot_list_foreach (int(*cfunc)(const struct rot_caps *, rig_ptr_t), rig_ptr_t data)
rot_model_t HAMLIB_API rot_probe_all (hamlib_port_t *p)
int rot_load_all_backends ()
int HAMLIB_API 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.6.1

Hamlib documentation for version 1.2.15.3 -- Tue Aug 27 14:08:38 2013
Project page: http://www.hamlib.org