Basic Solution File System - BSFS
Loading...
Searching...
No Matches
Command Struct Reference

Name-to-function descriptor for a browser command. More...

#include <commands_bsfs.h>

Public Attributes

char * name
int(* func )(FILE *file, superblock_t *sb, char **args)

Detailed Description

Name-to-function descriptor for a browser command.

Member Data Documentation

◆ func

int(* Command::func) (FILE *file, superblock_t *sb, char **args)

Handler receiving (disk, superblock, argv-like args); returns 0 to exit, 1 to continue.

◆ name

char* Command::name

Command name as typed in the browser (e.g., "ls").


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