SoapySDR  0.3.0-g02fc7af6
Vendor and platform neutral SDR interface library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions
Modules.h File Reference
#include <SoapySDR/Config.h>
#include <stddef.h>

Go to the source code of this file.

Functions

SOAPY_SDR_API const char * SoapySDR_getRootPath (void)
 Query the root installation path. More...
 
SOAPY_SDR_API char ** SoapySDR_listModules (size_t *length)
 
SOAPY_SDR_API void SoapySDR_loadModule (const char *path)
 
SOAPY_SDR_API void SoapySDR_loadModules (void)
 

Detailed Description

Utility functions to deal with modules. These utility functions are made available for advanced usage. For most use cases, the API will automatically load modules.

Function Documentation

SOAPY_SDR_API const char* SoapySDR_getRootPath ( void  )

Query the root installation path.

SOAPY_SDR_API char** SoapySDR_listModules ( size_t *  length)

List the paths to the modules available on this system. The result is an array of strings owned by the caller.

Parameters
[out]lengththe number of elements in the result.
SOAPY_SDR_API void SoapySDR_loadModule ( const char *  path)

Load a single module given its file system path.

SOAPY_SDR_API void SoapySDR_loadModules ( void  )

Load the support modules installed on this system. This call will only actually perform the load once. Subsequent calls are a NOP.