Przeglądaj źródła

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 17 lat temu
rodzic
commit
0d5a6e83b4
1 zmienionych plików z 8 dodań i 0 usunięć
  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;