Soletta™ Framework
Framework for making IoT devices

Full online documentation | C API Index
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
message-digest.c File Reference
#include <stdio.h>
#include <errno.h>
#include "soletta.h"
#include "sol-buffer.h"
#include "sol-file-reader.h"
#include "sol-message-digest.h"
#include "sol-util.h"

Data Structures

struct  feed_ctx
 

Functions

static void on_digest_ready (void *data, struct sol_message_digest *handle, struct sol_blob *digest)
 
static void on_feed_done (void *data, struct sol_message_digest *handle, struct sol_blob *input, int status)
 
static void print_time (const struct feed_ctx *ctx, size_t amount, const char *prefix)
 
static void shutdown (void)
 
 SOL_MAIN_DEFAULT (startup, shutdown)
 
static void startup (void)
 

Variables

static uint32_t pending
 

Function Documentation

static void on_digest_ready ( void *  data,
struct sol_message_digest handle,
struct sol_blob digest 
)
static
static void on_feed_done ( void *  data,
struct sol_message_digest handle,
struct sol_blob input,
int  status 
)
static
static void print_time ( const struct feed_ctx ctx,
size_t  amount,
const char *  prefix 
)
static
static void shutdown ( void  )
static
SOL_MAIN_DEFAULT ( startup  ,
shutdown   
)
static void startup ( void  )
static

Variable Documentation

uint32_t pending
static

Referenced by on_digest_ready(), and startup().