X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyazpp%2Fgdu.h;h=d6ffd50a038d27e16d20d3790f51c47ac04309c5;hb=711105a336b155f2b7f098cf84f2e30952cb8588;hp=84dffa1f4871eb8eeb50fd8763174c5839b2e504;hpb=4b3585940162cf9ca65ca4a6914c0addcde50eef;p=yazpp-moved-to-github.git diff --git a/include/yazpp/gdu.h b/include/yazpp/gdu.h index 84dffa1..d6ffd50 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-2012 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