/[resiprocate]/main/resip/dum/Profile.hxx
ViewVC logotype

Diff of /main/resip/dum/Profile.hxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2983 by derek, Sun Jun 13 04:52:56 2004 UTC revision 3150 by jason, Mon Jul 26 20:47:35 2004 UTC
# Line 20  Line 20 
20        struct DigestCredential        struct DigestCredential
21        {        {
22              DigestCredential();              DigestCredential();
23              DigestCredential(const Data& r, const Data& u, const Data& p);              DigestCredential(const Data& aor, const Data& realm, const Data& username, const Data& password);
24                Data aor;
25              Data realm;              Data realm;
26              Data user;              Data user;
27              Data password;              Data password;
# Line 31  Line 32 
32                
33        Profile();        Profile();
34                
35        void setDefaultAor(const NameAddr& from);        void setDefaultFrom(const NameAddr& from);
36        void setDefaultRegistrationTime(int secs);        void setDefaultRegistrationTime(int secs);
37    
38        void addSupportedScheme(const Data& scheme);        void addSupportedScheme(const Data& scheme);
# Line 41  Line 42 
42        void addSupportedEncoding(const Token& encoding);        void addSupportedEncoding(const Token& encoding);
43        void addSupportedLanguage(const Token& lang);        void addSupportedLanguage(const Token& lang);
44    
45        NameAddr& getDefaultAor();        NameAddr& getDefaultFrom();
46        int getDefaultRegistrationTime();        int getDefaultRegistrationTime();
47        int getDefaultSubscriptionTime();        int getDefaultSubscriptionTime();
48    
# Line 76  Line 77 
77        /// The following functions deal with getting digest credentals        /// The following functions deal with getting digest credentals
78        //@{        //@{
79    
80        void addDigestCredential( const Data& realm, const Data& user, const Data& password);        void addDigestCredential( const Data& aor, const Data& realm, const Data& user, const Data& password);
81                
82        /** This class is used as a callback to get digest crednetials. The        /** This class is used as a callback to get digest crednetials. The
83         * derived class must define one of computeA1 or getPaswword. computeA1 is         * derived class must define one of computeA1 or getPaswword. computeA1 is
# Line 97  Line 98 
98        const DigestCredential& getDigestCredential( const SipMessage& challenge );              const DigestCredential& getDigestCredential( const SipMessage& challenge );      
99    
100     private:     private:
101        NameAddr mAor;        NameAddr mDefaultFrom;
102        int mDefaultRegistrationExpires;        int mDefaultRegistrationExpires;
103    
104        bool mHasOutboundProxy;        bool mHasOutboundProxy;

Legend:
Removed from v.2983  
changed lines
  Added in v.3150

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27