smack.h/c -> libsmack.h/c
authorJarkko Sakkinen <jarkko.sakkinen@iki.fi>
Wed, 9 Nov 2011 20:16:18 +0000 (22:16 +0200)
committerJarkko Sakkinen <jarkko.sakkinen@iki.fi>
Wed, 9 Nov 2011 20:16:18 +0000 (22:16 +0200)
Makefile.am
doc/Doxyfile
src/Makefile.am
src/libsmack.c [moved from src/smack.c with 99% similarity]
src/libsmack.h [moved from src/smack.h with 97% similarity]
tests/smackaccess.c
tests/smackctl.c
tests/smackself.c

index 709f20f..35646fc 100644 (file)
@@ -1,5 +1,5 @@
 library_includedir=$(includedir)
-library_include_HEADERS=src/smack.h
+library_include_HEADERS=src/libsmack.h
 
 SUBDIRS = src tests doc
 
index 3bdbce9..777011c 100644 (file)
@@ -571,7 +571,7 @@ WARN_LOGFILE           =
 # directories like "/usr/src/myproject". Separate the files or directories
 # with spaces.
 
-INPUT                  = ../$(SRCDIR)/src/smack.h
+INPUT                  = ../$(SRCDIR)/src/libsmack.h
 
 # This tag can be used to specify the character encoding of the source files
 # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
index 9572261..c12df9e 100644 (file)
@@ -2,5 +2,5 @@ ACLOCAL_AMFLAGS = -I m4
 lib_LTLIBRARIES = libsmack.la
 
 libsmack_la_LDFLAGS = -version-info 1:0:0
-libsmack_la_SOURCES = smack.c
+libsmack_la_SOURCES = libsmack.c
 
similarity index 99%
rename from src/smack.c
rename to src/libsmack.c
index 8198de9..018e385 100644 (file)
@@ -23,7 +23,7 @@
  * Brian McGillion <brian.mcgillion@intel.com>
  */
 
-#include "smack.h"
+#include "libsmack.h"
 #include <errno.h>
 #include <fcntl.h>
 #include <stdio.h>
similarity index 97%
rename from src/smack.h
rename to src/libsmack.h
index 44cf5ed..54a4ad7 100644 (file)
  */
 
 /*!
- * @file smack.h
+ * @file libsmack.h
  *
  * Smack user space library
- *
- * Processes Smack rules both from smackfs and configuration files.
  */
 
 #ifndef SMACK_H
index 65181eb..da73d04 100644 (file)
@@ -22,7 +22,7 @@
  * Jarkko Sakkinen <jarkko.sakkinen@intel.com>
  */
 
-#include <smack.h>
+#include <libsmack.h>
 #include <sys/stat.h>
 #include <sys/types.h>
 #include <fcntl.h>
index 9d4e2f6..948a570 100644 (file)
@@ -33,7 +33,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <getopt.h>
-#include <smack.h>
+#include <libsmack.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index 47ffbdd..3b1e6e9 100644 (file)
@@ -22,7 +22,7 @@
  * Jarkko Sakkinen <jarkko.sakkinen@intel.com>
  */
 
-#include <smack.h>
+#include <libsmack.h>
 #include <stdio.h>
 #include <stdlib.h>