PERFORCE change 122630 for review

Andrew Turner andrew at FreeBSD.org
Sun Jul 1 10:33:18 UTC 2007


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

Change 122630 by andrew at 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 *);
 


More information about the p4-projects mailing list