PERFORCE change 109275 for review

John Birrell jb at FreeBSD.org
Sun Nov 5 08:22:44 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=109275

Change 109275 by jb at jb_freebsd8 on 2006/11/05 08:21:53

	Add a method to list names and values.

Affected files ...

.. //depot/projects/dtrace/src/sys/kern/linker_if.m#5 edit

Differences ...

==== //depot/projects/dtrace/src/sys/kern/linker_if.m#5 (text+ko) ====

@@ -64,6 +64,17 @@
 };
 
 #
+# Call the callback with each specified function and it's value
+# defined in the file.
+# Stop and return the error if the callback returns an error.
+#
+METHOD int each_function_nameval {
+	linker_file_t	file;
+	linker_function_nameval_callback_t	callback;
+	void*		opaque;
+};
+
+#
 # Search for a linker set in a file.  Return a pointer to the first
 # entry (which is itself a pointer), and the number of entries.
 # "stop" points to the entry beyond the last valid entry.


More information about the p4-projects mailing list