From owner-p4-projects@FreeBSD.ORG Sun Nov 5 08:22:43 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id BE4DA16A512; Sun, 5 Nov 2006 08:22:43 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7FB7D16A4F3 for ; Sun, 5 Nov 2006 08:22:43 +0000 (UTC) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 812A243D7D for ; Sun, 5 Nov 2006 08:22:38 +0000 (GMT) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id kA58Mc49099567 for ; Sun, 5 Nov 2006 08:22:38 GMT (envelope-from jb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kA58McMg099564 for perforce@freebsd.org; Sun, 5 Nov 2006 08:22:38 GMT (envelope-from jb@freebsd.org) Date: Sun, 5 Nov 2006 08:22:38 GMT Message-Id: <200611050822.kA58McMg099564@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jb@freebsd.org using -f From: John Birrell To: Perforce Change Reviews Cc: Subject: PERFORCE change 109275 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Nov 2006 08:22:44 -0000 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.