sipxmedialib  Version 3.3
IGetSrcDescription.h
Go to the documentation of this file.
1 //
2 // Copyright (C) 2006-2013 SIPez LLC. All rights reserved.
3 //
4 // Copyright (C) 2004-2006 SIPfoundry Inc.
5 // Licensed by SIPfoundry under the LGPL license.
6 //
7 // Copyright (C) 2004-2006 Pingtel Corp. All rights reserved.
8 // Licensed to SIPfoundry under a Contributor Agreement.
9 //
10 // $$
12 
13 
14 // Border Guard
15 #ifndef _IGetSrcDescription_h
16 #define _IGetSrcDescription_h
17 
18 #include "rtcp/RtcpConfig.h"
19 
20 // Include
21 #include "IBaseClass.h"
22 
23 // Defines
24 #define CNAME_FIELD 0x1
25 #define NAME_FIELD 0x2
26 #define EMAIL_FIELD 0x4
27 #define PHONE_FIELD 0x8
28 #define LOCATION_FIELD 0x10
29 #define APPNAME_FIELD 0x20
30 #define NOTE_FIELD 0x40
31 #define PRIVATE_FIELD 0x80
32 
33 #define CNAME_ID 1
34 #define NAME_ID 2
35 #define EMAIL_ID 3
36 #define PHONE_ID 4
37 #define LOCATION_ID 5
38 #define APPNAME_ID 6
39 #define NOTE_ID 7
40 #define PRIVATE_ID 8
41 
42 #define MAX_ENTRYSIZE 255
43 
44 // Forward Declarations
45 interface ISDESReport;
46 
61 interface IGetSrcDescription : public IBaseClass
62  {
63 
64 // Public Methods
65 
66 public:
67 
85  virtual unsigned long GetChanges(void)=0;
86 
112  virtual unsigned long GetFieldChange(unsigned long ulChangeMask,
113  unsigned long *pulFieldType,
114  unsigned char *puchFieldBuffer) = 0;
115 
116 
140  virtual void GetAllComponents(unsigned char *puchName,
141  unsigned char *puchEmail,
142  unsigned char *puchPhone,
143  unsigned char *puchLocation,
144  unsigned char *puchAppName,
145  unsigned char *puchNotes,
146  unsigned char *puchPrivate) = 0;
147 
164  virtual ssrc_t GetSSRC(void)=0;
165 
187  virtual unsigned long GetName(unsigned char *puchName) = 0;
188 
189 
190 
212  virtual unsigned long GetEmail(unsigned char *puchEmail) = 0;
213 
214 
215 
237  virtual unsigned long GetPhone(unsigned char *puchPhone) = 0;
238 
239 
262  virtual unsigned long GetAppName(unsigned char *puchAppName) = 0;
263 
264 
265 
288  virtual unsigned long GetLocation(unsigned char *puchLocation) = 0;
289 
290 
291 
313  virtual unsigned long GetNotes(unsigned char *puchNotes) = 0;
314 
336  virtual unsigned long GetPrivate(unsigned char *puchNotes) = 0;
337 
354  virtual ISDESReport * GetSDESInterface(void) = 0;
355 };
356 
357 #endif
358 
virtual unsigned long GetPrivate(unsigned char *puchNotes)=0
virtual unsigned long GetAppName(unsigned char *puchAppName)=0
interface unsigned char unsigned char unsigned char unsigned char unsigned char unsigned char * puchPrivate
Definition: ISetSrcDescription.h:75
virtual ISDESReport * GetSDESInterface(void)=0
virtual unsigned long GetLocation(unsigned char *puchLocation)=0
virtual unsigned long GetFieldChange(unsigned long ulChangeMask, unsigned long *pulFieldType, unsigned char *puchFieldBuffer)=0
virtual unsigned long GetNotes(unsigned char *puchNotes)=0
virtual unsigned long GetName(unsigned char *puchName)=0
virtual ssrc_t GetSSRC(void)=0
interface unsigned char unsigned char unsigned char unsigned char * puchAppName
Definition: ISetSrcDescription.h:73
uint32_t ssrc_t
Definition: RtcpConfig.h:62
interface unsigned char * puchEmail
Definition: ISetSrcDescription.h:70
virtual unsigned long GetPhone(unsigned char *puchPhone)=0
interface unsigned char unsigned char unsigned char * puchLocation
Definition: ISetSrcDescription.h:72
interface unsigned char unsigned char unsigned char unsigned char unsigned char * puchNotes
Definition: ISetSrcDescription.h:74
interface unsigned char unsigned char * puchPhone
Definition: ISetSrcDescription.h:71
virtual void GetAllComponents(unsigned char *puchName, unsigned char *puchEmail, unsigned char *puchPhone, unsigned char *puchLocation, unsigned char *puchAppName, unsigned char *puchNotes, unsigned char *puchPrivate)=0
virtual unsigned long GetEmail(unsigned char *puchEmail)=0