37 lines
824 B
C
37 lines
824 B
C
#ifndef RUNTIME_CMDCALL_H_
|
|
#define RUNTIME_CMDCALL_H_
|
|
|
|
#include <fx/macros.h>
|
|
#include <fx/value.h>
|
|
|
|
FX_DECLS_BEGIN;
|
|
|
|
struct bshell_runtime;
|
|
|
|
#define BSHELL_TYPE_CMDCALL (bshell_cmdcall_get_type())
|
|
|
|
FX_DECLARE_TYPE(bshell_cmdcall);
|
|
|
|
FX_TYPE_CLASS_DECLARATION_BEGIN(bshell_cmdcall)
|
|
FX_TYPE_CLASS_DECLARATION_END(bshell_cmdcall)
|
|
|
|
extern fx_type_id bshell_cmdcall_get_type(void);
|
|
|
|
FX_TYPE_DEFAULT_CONSTRUCTOR(bshell_cmdcall, BSHELL_TYPE_CMDCALL);
|
|
|
|
extern enum bshell_status bshell_cmdcall_push_arg(
|
|
bshell_cmdcall *cmdcall,
|
|
fx_value arg);
|
|
|
|
extern enum bshell_status bshell_cmdcall_resolve(
|
|
bshell_cmdcall *cmdcall,
|
|
struct bshell_runtime *rt);
|
|
extern enum bshell_status bshell_cmdcall_process_record(
|
|
bshell_cmdcall *cmdcall,
|
|
FX_TYPE_FWDREF(bshell_pipeline) * pipeline,
|
|
struct bshell_runtime *rt);
|
|
|
|
FX_DECLS_END;
|
|
|
|
#endif
|