TizenRT Libs&Environment  v2.0 M2
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 
25  const char *name;
27  const int exectype;
28  const int priority;
29  const int stacksize;
30 };
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 */
const int exectype
Definition: builtin.h:27
const int stacksize
Definition: builtin.h:29
const int priority
Definition: builtin.h:28
int(* TASK_CALLBACK)(int argc, char **args)
Definition: builtin.h:22
const char * name
Definition: builtin.h:25
const TASK_CALLBACK entry
Definition: builtin.h:26