123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- #include "shellmatta_opt.h"
- #include "shellmatta_utils.h"
- #include "shellmatta.h"
- #include <string.h>
- shellmatta_retCode_t shellmatta_opt( shellmatta_handle_t handle,
- char *optionString,
- char *option,
- char **argument,
- uint32_t *argLen)
- {
- shellmatta_retCode_t ret = SHELLMATTA_USE_FAULT;
- shellmatta_instance_t *inst = (shellmatta_instance_t*)handle;
-
- if( (NULL != inst)
- && (SHELLMATTA_MAGIC == inst->magic)
- && (NULL != optionString)
- && (NULL != option))
- {
-
- }
- (void)argument;
- (void)argLen;
- return ret;
- }
- shellmatta_retCode_t shellmatta_opt_long( shellmatta_handle_t handle,
- shellmatta_opt_long_t *longOptions,
- char *option,
- char **argument,
- uint32_t *argLen)
- {
- shellmatta_retCode_t ret = SHELLMATTA_USE_FAULT;
- shellmatta_instance_t *inst = (shellmatta_instance_t*)handle;
-
- if( (NULL != inst)
- && (SHELLMATTA_MAGIC == inst->magic)
- && (NULL != longOptions)
- && (NULL != option))
- {
-
- }
- (void)argument;
- (void)argLen;
- return ret;
- }
- shellmatta_retCode_t shellmatta_opt_init(shellmatta_instance_t *inst)
- {
-
- inst->optionParser.offset = 0u;
- return SHELLMATTA_OK;
- }
|