/************************************************************
 * <bsn.cl fy=2014 v=onl>
 * 
 * Copyright 2018, Delta Networks, Inc.       
 * 
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
 * either express or implied. See the License for the specific
 * language governing permissions and limitations under the
 * License.
 * 
 * </bsn.cl>
 ************************************************************
 *
 *
 *
 ***********************************************************/

#include <arm_delta_ag6248c/arm_delta_ag6248c_config.h>

#if ARM_DELTA_AG6248C_CONFIG_INCLUDE_UCLI == 1

#include <uCli/ucli.h>
#include <uCli/ucli_argparse.h>
#include <uCli/ucli_handler_macros.h>

static ucli_status_t
arm_delta_ag6248c_ucli_ucli__config__(ucli_context_t* uc)
{
    UCLI_HANDLER_MACRO_MODULE_CONFIG(arm_delta_ag6248c)
}

/* <auto.ucli.handlers.start> */
/******************************************************************************
 *
 * These handler table(s) were autogenerated from the symbols in this
 * source file.
 *
 *****************************************************************************/
static ucli_command_handler_f arm_delta_ag6248c_ucli_ucli_handlers__[] =
{
    arm_delta_ag6248c_ucli_ucli__config__,
    NULL
};
/******************************************************************************/
/* <auto.ucli.handlers.end> */

static ucli_module_t
arm_delta_ag6248c_ucli_module__ =
    {
        "arm_delta_ag6248c_ucli",
        NULL,
        arm_delta_ag6248c_ucli_ucli_handlers__,
        NULL,
        NULL,
    };

ucli_node_t*
arm_delta_ag6248c_ucli_node_create(void)
{
    ucli_node_t* n;
    ucli_module_init(&arm_delta_ag6248c_ucli_module__);
    n = ucli_node_create("arm_delta_ag6248c", NULL, &arm_delta_ag6248c_ucli_module__);
    ucli_node_subnode_add(n, ucli_module_log_node_create("arm_delta_ag6248c"));
    return n;
}

#else
void*
arm_delta_ag6248c_ucli_node_create(void)
{
    return NULL;
}
#endif

