Explorar el 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 hace 17 años
padre
commit
0d5a6e83b4
Se han modificado 1 ficheros con 8 adiciones y 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;