Zappy - Year end project 2
This is a project that Epitech asked us to create in order to allow us to reveiw the notions of the current year.
Loading...
Searching...
No Matches
Data Fields
command_s Struct Reference

Define structure of a command @command being the trigger string @opt Currently unused @arg_nb number of argument taken by command @command_fct Function pointer to command function. More...

#include <command_parse.h>

Collaboration diagram for command_s:
Collaboration graph

Data Fields

char * command
 
char * opt
 
size_t arg_nb
 
char *(* command_fct )(char *, char *, char *)
 

Detailed Description

Define structure of a command @command being the trigger string @opt Currently unused @arg_nb number of argument taken by command @command_fct Function pointer to command function.

Definition at line 21 of file command_parse.h.

Field Documentation

◆ arg_nb

size_t command_s::arg_nb

Definition at line 24 of file command_parse.h.

◆ command

char* command_s::command

Definition at line 22 of file command_parse.h.

◆ command_fct

char *(* command_s::command_fct) (char *, char *, char *)

Definition at line 25 of file command_parse.h.

◆ opt

char* command_s::opt

Definition at line 23 of file command_parse.h.


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