Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: nucleo_ucmd_helloworld
ucCmdLineToks.c
- Committer:
- kyourek
- Date:
- 2015-10-12
- Revision:
- 0:9e2fc73e5a12
File content as of revision 0:9e2fc73e5a12:
#include "ucmd_internal.h"
ucCmdTok *ucCmdLineToks_get_cmd_tok(ucCmdLineToks *p) {
if (NULL == p) return NULL;
return p->cmd_tok;
}
ucArgTok *ucCmdLineToks_get_arg_tok(ucCmdLineToks *p) {
if (NULL == p) return NULL;
return p->arg_tok;
}
ucSwitchTok *ucCmdLineToks_get_switch_tok(ucCmdLineToks *p) {
if (NULL == p) return NULL;
return p->switch_tok;
}