Motr  M0
mover_op_vec Struct Reference
Collaboration diagram for mover_op_vec:
Collaboration graph

Data Fields

const char * v_name
 
struct mover_op v_op [STATE_NR][M_NR]
 
void(* v_error )(struct mover *self, struct sock *s, int rc)
 
void(* v_done )(struct mover *self, struct sock *s)
 

Detailed Description

A vector of state transition functions for a mover.

This implements specific actions on top of the generic mover state machine.

See also
writer_op, stream_op, dgram_op, get_op.

Definition at line 825 of file sock.c.

Field Documentation

◆ v_done

void(* v_done) (struct mover *self, struct sock *s)

A call-back called when the mover reaches R_DONE state.

Definition at line 837 of file sock.c.

◆ v_error

void(* v_error) (struct mover *self, struct sock *s, int rc)

A call-back called when an error is raised for a socket or an error happens during state transition.

Definition at line 833 of file sock.c.

◆ v_name

const char* v_name

Human-readable name.

Definition at line 827 of file sock.c.

◆ v_op

struct mover_op v_op[STATE_NR][M_NR]

Definition at line 828 of file sock.c.


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