Re: Massive libxo-zation that breaks everything

From: Steve Kargl <sgk_at_troutmask.apl.washington.edu>
Date: Mon, 2 Mar 2015 18:54:57 -0800
On Mon, Mar 02, 2015 at 05:30:31PM -0800, Alfred Perlstein wrote:
> 
> Read the library. It doesn't care what output format it needs.
> It is up to the translation layer to do it. You could even do
> a csv format or most any other structured output format without
> changing the userland utils. 
> 

Yeah, read the library code because the manpages are atrocious.
There are 12 manpages apparently documenting xo_emit().

-- 
Steve

Index: xo_attr.3
===================================================================
--- xo_attr.3	(revision 279526)
+++ xo_attr.3	(working copy)
_at__at_ -11,8 +11,8 _at__at_
 .Dt LIBXO 3
 .Os
 .Sh NAME
-.Nm xo_emit
-.Nd emit formatted output based on format string and arguments
+.Nm xo_attr
+.Nd FUBAR
 .Sh LIBRARY
 .Lb libxo
 .Sh SYNOPSIS
Index: xo_create.3
===================================================================
--- xo_create.3	(revision 279526)
+++ xo_create.3	(working copy)
_at__at_ -11,8 +11,8 _at__at_
 .Dt LIBXO 3
 .Os
 .Sh NAME
-.Nm xo_emit
-.Nd emit formatted output based on format string and arguments
+.Nm xo_create
+.Nd FUBAR
 .Sh LIBRARY
 .Lb libxo
 .Sh SYNOPSIS
Index: xo_finish.3
===================================================================
--- xo_finish.3	(revision 279526)
+++ xo_finish.3	(working copy)
_at__at_ -11,8 +11,8 _at__at_
 .Dt LIBXO 3
 .Os
 .Sh NAME
-.Nm xo_emit
-.Nd emit formatted output based on format string and arguments
+.Nm xo_finish
+.Nd FUBAR
 .Sh LIBRARY
 .Lb libxo
 .Sh SYNOPSIS
Index: xo_flush.3
===================================================================
--- xo_flush.3	(revision 279526)
+++ xo_flush.3	(working copy)
_at__at_ -11,8 +11,8 _at__at_
 .Dt LIBXO 3
 .Os
 .Sh NAME
-.Nm xo_emit
-.Nd emit formatted output based on format string and arguments
+.Nm xo_flush
+.Nd FUBAR
 .Sh LIBRARY
 .Lb libxo
 .Sh SYNOPSIS
Index: xo_open_container.3
===================================================================
--- xo_open_container.3	(revision 279526)
+++ xo_open_container.3	(working copy)
_at__at_ -11,8 +11,8 _at__at_
 .Dt LIBXO 3
 .Os
 .Sh NAME
-.Nm xo_emit
-.Nd emit formatted output based on format string and arguments
+.Nm xo_open_container
+.Nd FUBAR
 .Sh LIBRARY
 .Lb libxo
 .Sh SYNOPSIS
Index: xo_open_list.3
===================================================================
--- xo_open_list.3	(revision 279526)
+++ xo_open_list.3	(working copy)
_at__at_ -11,8 +11,8 _at__at_
 .Dt LIBXO 3
 .Os
 .Sh NAME
-.Nm xo_emit
-.Nd emit formatted output based on format string and arguments
+.Nm xo_open_list
+.Nd FUBAR
 .Sh LIBRARY
 .Lb libxo
 .Sh SYNOPSIS
Index: xo_set_allocator.3
===================================================================
--- xo_set_allocator.3	(revision 279526)
+++ xo_set_allocator.3	(working copy)
_at__at_ -11,8 +11,8 _at__at_
 .Dt LIBXO 3
 .Os
 .Sh NAME
-.Nm xo_emit
-.Nd emit formatted output based on format string and arguments
+.Nm xo_set_allocator
+.Nd FUBAR
 .Sh LIBRARY
 .Lb libxo
 .Sh SYNOPSIS
Index: xo_set_flags.3
===================================================================
--- xo_set_flags.3	(revision 279526)
+++ xo_set_flags.3	(working copy)
_at__at_ -11,8 +11,8 _at__at_
 .Dt LIBXO 3
 .Os
 .Sh NAME
-.Nm xo_emit
-.Nd emit formatted output based on format string and arguments
+.Nm xo_set_flags
+.Nd FUBAR
 .Sh LIBRARY
 .Lb libxo
 .Sh SYNOPSIS
Index: xo_set_info.3
===================================================================
--- xo_set_info.3	(revision 279526)
+++ xo_set_info.3	(working copy)
_at__at_ -11,8 +11,8 _at__at_
 .Dt LIBXO 3
 .Os
 .Sh NAME
-.Nm xo_emit
-.Nd emit formatted output based on format string and arguments
+.Nm xo_set_info
+.Nd FUBAR
 .Sh LIBRARY
 .Lb libxo
 .Sh SYNOPSIS
Index: xo_set_style.3
===================================================================
--- xo_set_style.3	(revision 279526)
+++ xo_set_style.3	(working copy)
_at__at_ -11,8 +11,8 _at__at_
 .Dt LIBXO 3
 .Os
 .Sh NAME
-.Nm xo_emit
-.Nd emit formatted output based on format string and arguments
+.Nm xo_set_style
+.Nd FUBAR
 .Sh LIBRARY
 .Lb libxo
 .Sh SYNOPSIS
Index: xo_set_writer.3
===================================================================
--- xo_set_writer.3	(revision 279526)
+++ xo_set_writer.3	(working copy)
_at__at_ -11,8 +11,8 _at__at_
 .Dt LIBXO 3
 .Os
 .Sh NAME
-.Nm xo_emit
-.Nd emit formatted output based on format string and arguments
+.Nm xo_set_writer
+.Nd FUBAR
 .Sh LIBRARY
 .Lb libxo
 .Sh SYNOPSIS
Received on Tue Mar 03 2015 - 01:55:06 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:56 UTC