summaryrefslogtreecommitdiff
path: root/apps/include
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-16 17:05:00 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-16 17:05:00 +0000
commit880aa24ce3cb2bae6decbbdb2650f91a2547ba53 (patch)
tree6e7738015216d3c39847602e0ea776a3e14faa19 /apps/include
parentd904fafdf2f9f7ad686bd9d8b616aa310f5346eb (diff)
downloadnuttx-880aa24ce3cb2bae6decbbdb2650f91a2547ba53.tar.gz
nuttx-880aa24ce3cb2bae6decbbdb2650f91a2547ba53.tar.bz2
nuttx-880aa24ce3cb2bae6decbbdb2650f91a2547ba53.zip
Rename apps/include/apps.h to builtin.h. Move parts of apps/builtins/exec_builtin.c to binfmt/libbuiltin/libbuiltin_utils.c
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5524 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/include')
-rw-r--r--apps/include/builtin.h (renamed from apps/include/apps.h)47
1 files changed, 5 insertions, 42 deletions
diff --git a/apps/include/apps.h b/apps/include/builtin.h
index 0fb807c14..24cf204fa 100644
--- a/apps/include/apps.h
+++ b/apps/include/builtin.h
@@ -1,5 +1,5 @@
/****************************************************************************
- * apps/include/apps.h
+ * apps/include/builtin.h
*
* Originally by:
*
@@ -40,8 +40,8 @@
*
****************************************************************************/
-#ifndef __APPS_INCLUDE_APPS_H
-#define __APPS_INCLUDE_APPS_H
+#ifndef __APPS_INCLUDE_BUILTIN_H
+#define __APPS_INCLUDE_BUILTIN_H
/****************************************************************************
* Included Files
@@ -50,9 +50,8 @@
#include <nuttx/config.h>
#include <sys/types.h>
-#include <stdint.h>
-#include <nuttx/fs/ioctl.h>
+#include <nuttx/binfmt/builtin.h>
/****************************************************************************
* Pre-processor Definitions
@@ -79,42 +78,6 @@ extern "C" {
****************************************************************************/
/****************************************************************************
- * Name: builtin_isavail
- *
- * Description:
- * Checks for availabiliy of application registerred during compile time.
- *
- * Input Parameter:
- * filename - Name of the linked-in binary to be started.
- *
- * Returned Value:
- * This is an end-user function, so it follows the normal convention:
- * Returns index of builtin application. If it is not found then it
- * returns -1 (ERROR) and sets errno appropriately.
- *
- ****************************************************************************/
-
-EXTERN int builtin_isavail(FAR const char *appname);
-
-/****************************************************************************
- * Name: builtin_getname
- *
- * Description:
- * Returns pointer to a name of built-in application pointed by the
- * index.
- *
- * Input Parameter:
- * index, from 0 and on ...
- *
- * Returned Value:
- * Returns valid pointer pointing to the app name if index is valid.
- * Otherwise NULL is returned.
- *
- ****************************************************************************/
-
-EXTERN const char *builtin_getname(int index);
-
-/****************************************************************************
* Name: exec_builtin
*
* Description:
@@ -145,4 +108,4 @@ EXTERN int exec_builtin(FAR const char *appname, FAR const char **argv,
}
#endif
-#endif /* __APPS_INCLUDE_APPS_H */
+#endif /* __APPS_INCLUDE_BUILTIN_H */