vf_get_object_type(3)
β¨ vf_get_object_type β¨
okay bestie, welcome to the vf_get_object_type(3) page π this one lives in the Library Functions Manual and honestly? it's giving tiny but mighty π¦
πΈ NAME πΈ
vf_get_object_type β literally just vf_get_object_type(), that's the whole vibe π
π SYNOPSIS π
#include <../vformat/vf_iface.h>
extern const char *vf_get_object_type(VF_OBJECT_T *p_object);
so you pull in that header and boom, the function is yours β¨
π«Ά PARAMETERS π«Ά
VF_OBJECT_T *p_objectβ the object you want to locate the type of π like, hand it the thing and it tells you what the thing is.
π DESCRIPTION π
okay so here's the tea β this function returns the type string that identifies the vformat object you pointed at. it's the string that comes after the 'BEGIN' mark β so think 'VCARD' or 'VNOTE' etc. π no cap, that's the whole job. it's the lil name tag of the object, the "hi my name is" sticker, the vibe check in string form π
β RETURNS β
Ptr to string. that's it bestie, a pointer to a string π₯
heads up: it's a pointer, not a copy, so don't go freeing it or messing with it, mwah π
π SEE ALSO π
the whole friend group, periodt π go read these too:
vf_parse_init(3)vf_parse_text(3)vf_parse_end(3)vf_read_file(3)vf_write_file(3)vf_get_next_object(3)vf_create_object(3)vf_get_property(3)vf_get_property_ex(3)vf_get_next_property(3)vf_get_prop_value(3)vf_set_prop_value(3)vf_get_prop_value_string(3)vf_get_prop_name_string(3)vf_set_prop_name_string(3)vf_get_prop_name(3)vf_get_prop_value_object(3)vf_set_prop_value_object(3)vf_set_prop_value_string(3)vf_set_prop_value_base64(3)vf_get_prop_value_base64(3)vf_set_property_from_file(3)vf_delete_object(3)vf_delete_prop(3)vf_find_prop_qual_index(3)vf_is_modified(3)vf_find_charset(3)vf_date_string_to_time(3)vf_period_string_to_time(3)vf_period_time_to_string(3)vf_set_prop_value_time(3)vf_get_prop_value_time(3)
and that's the page!! π this one was brought to you by c2man over there in vf_iface.h, dated 30 April 2003 β yeah, an elder, but she still slays π
β¨ bye bestie, go read an object's type π¦π
π¦ where this page comes from
- debian bookworm: libvformat-dev 1.13-12 Β· LGPL-2.1-or-later
- ubuntu jammy: libvformat-dev 1.13-12build2 Β· LGPL-2.1-or-later
- ubuntu noble: libvformat-dev 1.13-12.1ubuntu1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms