TizenRT Libs&Environment
v2.0 M2
Main Page
Modules
Data Structures
Files
File List
Globals
builtin.h
Go to the documentation of this file.
1
/****************************************************************************
2
*
3
* Copyright 2017 Samsung Electronics All Rights Reserved.
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0
10
*
11
* Unless required by applicable law or agreed to in writing,
12
* software distributed under the License is distributed on an
13
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
14
* either express or implied. See the License for the specific
15
* language governing permissions and limitations under the License.
16
*
17
****************************************************************************/
18
#ifndef __APPS_INCLUDE_BUILTIN_H
19
#define __APPS_INCLUDE_BUILTIN_H
20
#include <tinyara/config.h>
21
22
typedef
int (*
TASK_CALLBACK
)(
int
argc,
char
**args);
23
24
struct
builtin_info_s
{
25
const
char
*
name
;
26
const
TASK_CALLBACK
entry
;
27
const
int
exectype
;
28
const
int
priority
;
29
const
int
stacksize
;
30
};
31
typedef
struct
builtin_info_s
builtin_info_t
;
32
33
#ifdef CONFIG_BUILTIN_APPS
34
extern
const
builtin_info_t
builtin_list[];
35
int
get_builtin_list_cnt(
void
);
36
void
register_examples_cmds(
void
);
37
#endif
38
39
#endif
/* __APPS_INCLUDE_BUILTIN_H */
builtin_info_s::exectype
const int exectype
Definition:
builtin.h:27
builtin_info_s::stacksize
const int stacksize
Definition:
builtin.h:29
builtin_info_s::priority
const int priority
Definition:
builtin.h:28
builtin_info_s
Definition:
builtin.h:24
TASK_CALLBACK
int(* TASK_CALLBACK)(int argc, char **args)
Definition:
builtin.h:22
builtin_info_s::name
const char * name
Definition:
builtin.h:25
builtin_info_s::entry
const TASK_CALLBACK entry
Definition:
builtin.h:26
apps
include
builtin.h
Generated by
1.8.11