NSIS-ka
A free C++ implementation of NSIS protocols

Changeset 4168


Ignore:
Timestamp:
Jul 24, 2009, 11:11:58 AM (8 years ago)
Author:
bless
Message:
Location:
protlib/branches/20081127-merge-mobility-mk3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • protlib/branches/20081127-merge-mobility-mk3/include/address.h

    r4148 r4168  
    11531153
    11541154        // Default properties, N.B. Ignore will remove all other properties
    1155         static AddrProperty *LocalAddr_P;
    1156         static AddrProperty *ConfiguredAddr_P;
    1157         static AddrProperty *HomeAddr_P;
    1158         static AddrProperty *HAAddr_P;
    1159         static AddrProperty *AltHAAddr_P;
    1160         static AddrProperty *HomeNet_P;
     1155        static AddrProperty *LocalAddr_P;        // any physically address assigned to an i/f
     1156        static AddrProperty *ConfiguredAddr_P;   // address assigned by configuration
     1157        static AddrProperty *HomeAddr_P;         // Home Address (MobileIP)
     1158        static AddrProperty *HAAddr_P;           // Home Agent Address (MobileIP)
     1159        static AddrProperty *AltHAAddr_P;        // Alternative Home Agent Address (MobileIP)
     1160        static AddrProperty *HomeNet_P;          // Home Network Address
    11611161
    11621162private:
     
    12011201        // Manage properties
    12021202        // If 'all' is true operate on all matching addresses as well
    1203         bool add_property(netaddress &na, AddrProperty *p = ConfiguredAddr_P,
     1203        bool add_property(const netaddress &na, AddrProperty *p = ConfiguredAddr_P,
    12041204            bool propagate = true);
    1205         bool del_property(netaddress &na, AddrProperty *p = ConfiguredAddr_P,
     1205        bool del_property(const netaddress &na, AddrProperty *p = ConfiguredAddr_P,
    12061206            bool propagate = true);
    12071207        inline bool purge_properties(netaddress &na, bool prop = true) {
  • protlib/branches/20081127-merge-mobility-mk3/src/address.cpp

    r4142 r4168  
    942942
    943943bool
    944 AddressList::add_property(netaddress &na, AddrProperty *p, bool propagate)
     944AddressList::add_property(const netaddress &na, AddrProperty *p, bool propagate)
    945945{
    946946        propmap_t *props, *lpfm_props;
     
    980980
    981981bool
    982 AddressList::del_property(netaddress &na, AddrProperty *p, bool propagate)
     982AddressList::del_property(const netaddress &na, AddrProperty *p, bool propagate)
    983983{
    984984        propmap_t *props, *lpfm_props;
Note: See TracChangeset for help on using the changeset viewer.