- Timestamp:
- Sep 21, 2010, 3:57:26 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/communication/networkinfo/NetworkChangeInterface.h
r3690 r8569 55 55 56 56 typedef enum _EventType { 57 EventTypeInvalid, // INVALID57 EventTypeInvalid, // INVALID 58 58 EventTypeInterfaceUp, // network interface came up 59 59 EventTypeInterfaceDown, // network interface went down 60 EventTypeAddressNew, // new network address configured61 EventTypeAddressDelete, // network address deleted62 60 } EventType; 63 61 64 62 static string eventString(EventType ev){ 65 63 switch( ev ){ 66 case EventTypeInvalid: return "invalid type";67 case EventTypeInterfaceUp: return "interface up";64 case EventTypeInvalid: return "invalid type"; 65 case EventTypeInterfaceUp: return "interface up"; 68 66 case EventTypeInterfaceDown: return "interface down"; 69 case EventTypeAddressNew: return "new address"; 70 case EventTypeAddressDelete: return "deleted address"; 71 default: return "unknown event"; 67 default: return "unknown event"; 72 68 } 73 69 }
Note:
See TracChangeset
for help on using the changeset viewer.