X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fformat.h;h=24276fa46915275f7b059edde605ad59cef65a70;hp=b9c3e9fb0b029845ae280260d454a558cb070e1b;hb=c054553dac076f91196b372fa19efaf2adc4e4f9;hpb=8a4035bcbfe691490b031f08533676597f72a4ac diff --git a/include/babeltrace/format.h b/include/babeltrace/format.h index b9c3e9fb..24276fa4 100644 --- a/include/babeltrace/format.h +++ b/include/babeltrace/format.h @@ -6,7 +6,7 @@ * * Trace Format Header * - * Copyright 2010 - Mathieu Desnoyers + * Copyright 2010, 2011 - Mathieu Desnoyers * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -67,6 +67,10 @@ struct format { const struct type_class_struct *struct_class); void (*struct_end)(struct stream_pos *pos, const struct type_class_struct *struct_class); + void (*variant_begin)(struct stream_pos *pos, + const struct type_class_variant *variant_class); + void (*variant_end)(struct stream_pos *pos, + const struct type_class_variant *variant_class); void (*array_begin)(struct stream_pos *pos, const struct type_class_array *array_class); void (*array_end)(struct stream_pos *pos,