libsigrok
Functions
backend.c File Reference
#include <glib.h>
#include "sigrok.h"
#include "sigrok-internal.h"
Include dependency graph for backend.c:

Go to the source code of this file.

Functions

SR_API int sr_init (void)
 Initialize libsigrok.
SR_API int sr_exit (void)
 Shutdown libsigrok.

Function Documentation

SR_API int sr_exit ( void  )

Shutdown libsigrok.

Returns:
SR_OK upon success, a (negative) error code otherwise.

Definition at line 39 of file backend.c.

References sr_hw_cleanup_all(), and SR_OK.

Here is the call graph for this function:

SR_API int sr_init ( void  )

Initialize libsigrok.

Returns:
SR_OK upon success, a (negative) error code otherwise.

Definition at line 29 of file backend.c.

References SR_OK.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines