summaryrefslogtreecommitdiff
path: root/protocols/AimOscar/src/snac.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-08-13 17:08:34 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-08-13 17:08:34 +0000
commit1ea84dc56d95ceaf85c036127c5045eba0ad50ee (patch)
treea8392d1877470f4d7513e3ad853fa843d564a544 /protocols/AimOscar/src/snac.h
parent5c84f735bc4f40d3f2f645d003ef9a08576878d8 (diff)
massive name conflict resolution
git-svn-id: http://svn.miranda-ng.org/main/trunk@14941 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/AimOscar/src/snac.h')
-rw-r--r--protocols/AimOscar/src/snac.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/protocols/AimOscar/src/snac.h b/protocols/AimOscar/src/snac.h
index 8c184dfa3e..5c97462f22 100644
--- a/protocols/AimOscar/src/snac.h
+++ b/protocols/AimOscar/src/snac.h
@@ -23,23 +23,23 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
class SNAC
{
-private:
unsigned short service_;
unsigned short subgroup_;
unsigned short length_;
unsigned short flags_;
unsigned short idh_;
unsigned short id_;
- char* value_;
+ char *value_;
+
public:
- SNAC(char* buf, unsigned short length);
+ SNAC(char *buf, unsigned short length);
int cmp(unsigned short service);
int subcmp(unsigned short subgroup);
- unsigned short ushort(int pos=0);
- unsigned long ulong(int pos=0);
- unsigned char ubyte(int pos=0);
+ unsigned short ushort(int pos = 0);
+ unsigned long ulong(int pos = 0);
+ unsigned char ubyte(int pos = 0);
char* part(int pos, int length);
- char* val(int pos=0) { return &value_[pos]; }
+ char* val(int pos = 0) { return &value_[pos]; }
unsigned short len(void) { return length_; }
unsigned short flags(void) { return flags_; }
unsigned short id(void) { return id_; }