LFX Mentorship 2023
Functions
handler.h File Reference

Accepts raw parsing data and execute. More...

#include "argparse.h"
#include "option.h"
Include dependency graph for handler.h:

Go to the source code of this file.

Functions

bool handle_option_null (const Option *opt)
 
bool handle_option_version (const Option *opt)
 
bool handle_option_wasm_arg (const Option *opt)
 
bool handle_option (const ParseData *pd)
 Handle parsing result from ParseData. More...
 

Detailed Description

Accepts raw parsing data and execute.

Function Documentation

◆ handle_option()

bool handle_option ( const ParseData pd)

Handle parsing result from ParseData.

Parameters
pdis a ParseData pointer.
Returns
If exit successfully, return true. If not, return false.