X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyazpp%2Fgdu.h;h=0ae3a7e2bfe651544c5e843eb1625cfc8e842740;hb=89722b8558e29bc0cbe6e37337ad4774f34cab55;hp=c212a4abcda42dbcbd81c48a3fa7afc3bb7dffbc;hpb=9fef1c618f2f936041b3b58d61e406182033ab30;p=yazpp-moved-to-github.git diff --git a/include/yazpp/gdu.h b/include/yazpp/gdu.h index c212a4a..0ae3a7e 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-2009 Index Data and Mike Taylor + * Copyright (C) 1998-2010 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