X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=include%2Fyazpp%2Fgdu.h;h=61ef6c6252737e0e3cb82069b6347f5c05e31178;hb=217e153abe5e9c5aae6ef74a839bf01d30e295d3;hp=84dffa1f4871eb8eeb50fd8763174c5839b2e504;hpb=4b3585940162cf9ca65ca4a6914c0addcde50eef;p=yazpp-moved-to-github.git diff --git a/include/yazpp/gdu.h b/include/yazpp/gdu.h index 84dffa1..61ef6c6 100644 --- a/include/yazpp/gdu.h +++ b/include/yazpp/gdu.h @@ -1,5 +1,5 @@ /* This file is part of the yazpp toolkit. - * Copyright (C) 1998-2008 Index Data and Mike Taylor + * Copyright (C) 1998-2013 Index Data and Mike Taylor * All rights reserved. * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -42,6 +42,7 @@ namespace yazpp_1 { GDU &operator=(const GDU &); Z_GDU *get() const; void move_away_gdu(ODR dst, Z_GDU **gdu); + int get_size(); private: void base(Z_GDU *gdu, ODR o); Z_GDU *m_gdu; @@ -53,6 +54,7 @@ namespace yazpp_1 { /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab