Permalink
Browse files

Move pkg_rc_attr to the private/pkg.h

  • Loading branch information...
1 parent 4e5447b commit 40985539bff2fa3393f04c6fa6b7f64c8007b1f1 @dnaeon dnaeon committed Mar 31, 2012
Showing with 8 additions and 8 deletions.
  1. +0 −8 libpkg/pkg.h
  2. +8 −0 libpkg/private/pkg.h
View
@@ -280,14 +280,6 @@ typedef enum {
} pkg_error_t;
/**
- * rc script actions
- */
-typedef enum {
- PKG_RC_START = 0,
- PKG_RC_STOP
-} pkg_rc_attr;
-
-/**
* Allocate a new pkg.
* Allocated pkg must be deallocated by pkg_free().
*/
@@ -161,6 +161,14 @@ struct pkg_shlib {
};
/**
+ * rc script actions
+ */
+typedef enum {
+ PKG_RC_START = 0,
+ PKG_RC_STOP
+} pkg_rc_attr;
+
+/**
* Remove and unregister the package.
* @param pkg An installed package to delete
* @param db An opened pkgdb

0 comments on commit 4098553

Please sign in to comment.