aboutsummaryrefslogtreecommitdiff
path: root/netnuke.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunk@stsci.edu>2009-09-23 01:23:01 -0400
committerJoseph Hunkeler <jhunk@stsci.edu>2009-09-23 01:23:01 -0400
commitb78b5de00ee3a127ed1dad01d18e96338ea0ab92 (patch)
tree27294ccb8389bfdc18b844ed8eece10f81dc9ce1 /netnuke.h
parentb2789c83b78ccc41b1ec7429edd88fcdd9cea69e (diff)
downloadNetNuke-b78b5de00ee3a127ed1dad01d18e96338ea0ab92.tar.gz
Tons of little changes. A log file is now generated with relevent information in /tmp/netnuke.log
Diffstat (limited to 'netnuke.h')
-rw-r--r--netnuke.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/netnuke.h b/netnuke.h
index a8232d8..41517e3 100644
--- a/netnuke.h
+++ b/netnuke.h
@@ -15,6 +15,11 @@ int humanize_number(char *buf, size_t len, int64_t bytes,
const char *suffix, int scale, int flags);
#endif
+/* log.c */
+int logopen(const char* logfile);
+void logclose(void);
+int lwrite(char* format, ...);
+
/* Defines */
#define NETNUKE_VERSION_MAJOR 1
#define NETNUKE_VERSION_MINOR 0
@@ -39,6 +44,7 @@ int humanize_number(char *buf, size_t len, int64_t bytes,
You should have received a copy of the GNU General Public License\n\
along with this program. If not, see <http://www.gnu.org/licenses/>."
+#define MAX_SCAN 255
/* Output update speed based on writes */
#define RETAINER 0