NewMadeleine

Documentation

« back to PM2 home.

internal state of a data slicer. More...

#include <nm_data.h>

Collaboration diagram for nm_data_slicer_s:

Data Fields

nm_data_slicer_kind_t kind
 
const struct nm_data_sp_data
 
nm_len_t done
 length of data processed so far
 
union { 
 
   struct { 
 
      struct nm_data_op_s   op 
 op to apply on the current slice More...
 
      volatile nm_len_t   slice_len 
 length of the current slice More...
 
      struct nm_data_coroutine_s   coroutine 
 
   }   coroutine 
 coroutine-based slicer More...
 
   struct { 
 
      void *   p_baseptr 
 base pointer of the data More...
 
   }   contig 
 slicer for contiguous data; no context switch More...
 
};  
 

Detailed Description

internal state of a data slicer.

Opaque structure for the user.

Definition at line 767 of file nm_data.h.

Field Documentation

◆ [union]

union { ... } nm_data_slicer_s

◆ [struct]

struct { ... } nm_data_slicer_s::contig

slicer for contiguous data; no context switch

◆ coroutine [1/2]

struct nm_data_coroutine_s nm_data_slicer_s::coroutine

Definition at line 778 of file nm_data.h.

Referenced by nm_data_op_apply_slicer_coroutine().

◆ [struct] [2/2]

struct { ... } nm_data_slicer_s::coroutine

coroutine-based slicer

◆ done

nm_len_t nm_data_slicer_s::done

length of data processed so far

Definition at line 771 of file nm_data.h.

◆ kind

nm_data_slicer_kind_t nm_data_slicer_s::kind

Definition at line 769 of file nm_data.h.

Referenced by nm_data_slicer_isnull().

◆ op

struct nm_data_op_s nm_data_slicer_s::op

op to apply on the current slice

Definition at line 776 of file nm_data.h.

◆ p_baseptr

void* nm_data_slicer_s::p_baseptr

base pointer of the data

Definition at line 782 of file nm_data.h.

◆ p_data

const struct nm_data_s* nm_data_slicer_s::p_data

Definition at line 770 of file nm_data.h.

◆ slice_len

volatile nm_len_t nm_data_slicer_s::slice_len

length of the current slice

Definition at line 777 of file nm_data.h.

Referenced by nm_data_op_apply_slicer_coroutine().


The documentation for this struct was generated from the following file: