Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Nov 2006 08:22:38 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 109275 for review
Message-ID:  <200611050822.kA58McMg099564@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=109275

Change 109275 by jb@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611050822.kA58McMg099564>