Subversion Repositories SvarDOS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
219 mateuszvis 1
/* This file provides functions for parsing commands and their arguments
2
 
3
   Warning: parsecmd() will modify the cmdline string, so it won't be
4
   readable anymore in any other way other than via ptrtable[].
5
   This function returns the number of arguments that have been parsed,
6
   or -1 on parsing error.
7
 
8
   Copyright (C) 2012-2016 Mateusz Viste */
9
 
10
#ifndef PARSECMD_H_SENTINEL
11
#define PARSECMD_H_SENTINEL
12
 
13
int parsecmd(char *cmdline, char **ptrtable, int maxargs);
14
 
15
#endif