Filter results by

Older Versions

Older API versions are available as a download. To view, extract the file and open the index.html file in a web browser.

artik_list.h File Reference

Linked list implementation. More...

#include <stdlib.h>
#include <string.h>
#include "artik_error.h"

Go to the source code of this file.

Data Structures

struct  artik_list
 Generic linked list structure. More...
 

Macros

#define ARTIK_LIST_INVALID_HANDLE   NULL
 ARTIK_LIST_INVALID_HANDLE. More...
 

Typedefs

typedef void * ARTIK_LIST_HANDLE
 ARTIK_LIST_ID type. More...
 
typedef void(* ARTIK_LIST_FUNCA) (void *)
 ARTIK_LIST_FUNCA type. More...
 
typedef void *(* ARTIK_LIST_FUNCB) (void *, void *)
 ARTIK_LIST_FUNCB type. More...
 
typedef struct artik_list artik_list
 Generic linked list structure. More...
 

Detailed Description

Implements linked-list facility to use throughout the SDK

Definition in file artik_list.h.

Macro Definition Documentation

#define ARTIK_LIST_INVALID_HANDLE   NULL

Defines invalid value for a handle

Definition at line 78 of file artik_list.h.

Typedef Documentation

typedef struct artik_list artik_list

Structure containing the data elements for a generic linked list.

typedef void(* ARTIK_LIST_FUNCA) (void *)

Defines a node function pointer with only one parameter and no return.

Definition at line 51 of file artik_list.h.

typedef void*(* ARTIK_LIST_FUNCB) (void *, void *)

Defines a node function pointer with two parameter and return.

Definition at line 57 of file artik_list.h.

typedef void* ARTIK_LIST_HANDLE

Defines a node ID for the generic list

Definition at line 44 of file artik_list.h.

Last updated on: