]> Kevux Git Server - fll/commitdiff
Update: rename/move fl_execute into fll_execute
authorKevin Day <kevin@kevux.org>
Thu, 8 Mar 2012 00:05:07 +0000 (18:05 -0600)
committerKevin Day <kevin@kevux.org>
Thu, 8 Mar 2012 00:05:07 +0000 (18:05 -0600)
This is done so that it can utilize some level_1 dependencies, such as fl_serialize.

level_2/fll_execute/c/execute.c [moved from level_1/fl_execute/c/execute.c with 90% similarity]
level_2/fll_execute/c/execute.h [moved from level_1/fl_execute/c/execute.h with 60% similarity]
level_2/fll_execute/data/build/settings [moved from level_1/fl_execute/data/build/settings with 83% similarity]

similarity index 90%
rename from level_1/fl_execute/c/execute.c
rename to level_2/fll_execute/c/execute.c
index 42351e74ce13f3905c1b5316c372165bdfc54e20..76a297e5da177c616b49a0532e59792c213a9f05 100644 (file)
@@ -8,14 +8,14 @@
  * Provides program execution operations similart to system()
  * TODO: I should implement a function that will find the program based on PATH so that static paths do not have to be used
  */
-#include <level_1/execute.h>
+#include <level_2/execute.h>
 
 #ifdef __cplusplus
 extern "C"{
 #endif
 
-#ifndef _di_fl_execute_path_
-  f_return_status fl_execute_path(const f_string program_path, const f_dynamic_strings arguments, f_s_int *results){
+#ifndef _di_fll_execute_path_
+  f_return_status fll_execute_path(const f_string program_path, const f_dynamic_strings arguments, f_s_int *results){
     #ifndef _di_level_1_parameter_checking_
       if (results == f_null) return f_invalid_parameter;
 
@@ -67,7 +67,7 @@ extern "C"{
 
     return f_none;
   }
-#endif // _di_fl_execute_path_
+#endif // _di_fll_execute_path_
 
 #ifdef __cplusplus
 } // extern "C"
similarity index 60%
rename from level_1/fl_execute/c/execute.h
rename to level_2/fll_execute/c/execute.h
index 9bc8b4b03f991a06894298a8784e3397ef7b85ea..7011956213ecad9a10df585677f066291733baf0 100644 (file)
@@ -7,8 +7,8 @@
  *
  * Provides program execution operations similar to system()
  */
-#ifndef _FL_execute_h
-#define _FL_execute_h
+#ifndef _FLL_execute_h
+#define _FLL_execute_h
 
 // libc includes
 #include <unistd.h>
 #include <level_0/errors.h>
 #include <level_0/memory.h>
 
+// fll-1 includes
+
 #ifdef __cplusplus
 extern "C"{
 #endif
 
-#ifndef _di_fl_execute_path_
+#ifndef _di_fll_execute_path_
   // This will execute a program given some path + program name (such as "/bin/bash")
-  extern f_return_status fl_execute_path(const f_string program_path, const f_dynamic_strings arguments, f_s_int *results);
-#endif // _di_fl_execute_path_
+  extern f_return_status fll_execute_path(const f_string program_path, const f_dynamic_strings arguments, f_s_int *results);
+#endif // _di_fll_execute_path_
 
-#ifndef _di_fl_execute_program_
+#ifndef _di_fll_execute_program_
   // This will find the program based on PATH environment so that static paths do not have to be used as with f_execute_path
-  extern f_return_status fl_execute_program(const f_string program_name, const f_string arguments[], f_s_int *results);
-#endif // _di_fl_execute_program_
+  extern f_return_status fll_execute_program(const f_string program_name, const f_string arguments[], f_s_int *results);
+#endif // _di_fll_execute_program_
 
 #ifdef __cplusplus
 } // extern "C"
 #endif
 
-#endif // _FL_execute_h
+#endif // _FLL_execute_h
similarity index 83%
rename from level_1/fl_execute/data/build/settings
rename to level_2/fll_execute/data/build/settings
index a7ba8a88c0426447d2ca3c3a25381a606fcdb6b1..002cc2bf3e6b95e536f36f1d7245c34cc0811001 100644 (file)
@@ -1,10 +1,10 @@
 # fss-0000
 
-project_name fl_execute
-project_level 1
+project_name fll_execute
+project_level 2
 
 version_major 0
-version_minor 2
+version_minor 3
 version_micro 0
 
 build_compiler gcc