Check for driver methods before calling them and reset them on close.
[cascardo/rnetproxy.git] / null.h
diff --git a/null.h b/null.h
index 790b2c7..df848a8 100644 (file)
--- a/null.h
+++ b/null.h
@@ -1,5 +1,6 @@
 /*
 ** Copyright (C) 2006 Thadeu Lima de Souza Cascardo <cascardo@minaslivre.org>
+** Copyright (C) 2009 Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
 **  
 ** This program is free software; you can redistribute it and/or modify
 ** it under the terms of the GNU General Public License as published by
@@ -21,9 +22,9 @@
 #define NULL_H
 
 #include "nethook.h"
-#include "iochannel.h"
+#include "hcconn.h"
 
-net_hook_t* null_hook_new (HCConn*, char*);
-void null_destroy (net_hook_t*);
+net_hook_t * null_hook_new (HCConn *, char *, char *);
+void null_destroy (net_hook_t *);
 
 #endif