Explorar o código

Add mechanism to use logsysrec from inside totem stack.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2157 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake %!s(int64=17) %!d(string=hai) anos
pai
achega
0d5a6e83b4
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      include/corosync/totem/totem.h

+ 8 - 0
include/corosync/totem/totem.h

@@ -130,6 +130,14 @@ struct totem_config {
 
 	struct totem_logging_configuration totem_logging_configuration;
 
+	void (*log_rec) (
+		int subsysid,
+		const char *function_name,
+		const char *file_name,
+		int file_line,
+		unsigned int rec_ident,
+		...);
+
 	unsigned int secauth;
 
 	unsigned int net_mtu;