Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jul 2007 10:33:17 GMT
From:      Andrew Turner <andrew@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 122630 for review
Message-ID:  <200707011033.l61AXHF6099812@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help

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

Change 122630 by andrew@andrew_hermies on 2007/07/01 10:33:17

	Add facund_object_get_type to get hte object type from a facund_object

Affected files ...

.. //depot/projects/soc2007/andrew-update/lib/facund_object.c#5 edit
.. //depot/projects/soc2007/andrew-update/lib/facund_object.h#4 edit

Differences ...

==== //depot/projects/soc2007/andrew-update/lib/facund_object.c#5 (text+ko) ====

@@ -391,6 +391,12 @@
 	return obj->obj_error;
 }
 
+enum facund_type
+facund_object_get_type(struct facund_object *obj)
+{
+	return obj->obj_type;
+}
+
 const char *
 facund_object_xml_string(struct facund_object *obj __unused)
 {

==== //depot/projects/soc2007/andrew-update/lib/facund_object.h#4 (text+ko) ====

@@ -79,6 +79,7 @@
 			    const char *);
 
 enum facund_object_error facund_object_get_error(struct facund_object*);
+enum facund_type	 facund_object_get_type(struct facund_object *);
 const char		*facund_object_xml_string(struct facund_object *);
 void			 facund_object_print(struct facund_object *);
 



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