API Guide Home
(Online version only)

PalmShimSettings.h

Go to the documentation of this file.
00001 /******************************************************************************
00002  * Copyright (c) 2005 palmOne, Inc. or its subsidiaries.
00003  * All rights reserved.
00004  *****************************************************************************/
00005 /** 
00006  *@ingroup System
00007  *
00008  */
00009  
00010 /**
00011  * @file    PalmShimSettings.h
00012  * @version 1.0
00013  * @date    10/28/2002
00014  *
00015  * @brief Shim settings for NetIFSettingGet()/Set().
00016  *
00017  * <hr>
00018  */
00019  
00020 #ifndef PALM_SHIM_SETTINGS_H_
00021 #define PALM_SHIM_SETTINGS_H_ 
00022 
00023 /**
00024  * NetIFSettings for the shim.
00025  * Used by NetIFSettingGet()/Set().
00026  */
00027 typedef enum {
00028 
00029   netIFSettingShimUp = 0xA000,    /**< True if shim is up; read-only. */
00030   netIFSettingShimHideProgress,   /**< Defaults to false. */
00031   netIFSettingShimConfig,         /**< Mechanism for passing data between app & proto tasks. */
00032   netIFSettingShimLog,            /**< Copy the shim log; read-only. */
00033   netIFSettingShimCreator,        /**< Creator ID of shim; UInt32; read-only. */
00034   netIFSettingShimVersion,        /**< Version of the shim; Char[32]; read-only. */
00035   netIFSettingShimLibVersion,     /**< Version of the shim library; UInt32; little-endian; read-only; see sysMakeROMVersion() macro */  
00036   netIFSettingShimVPNStart,       /**< Connect VPN */
00037   netIFSettingShimVPNStop         /**< Disconnect VPN */       
00038 } NetIFSettingShimEnum;
00039 
00040 #define vpnLibEventNotification 'pVPN'      /**<        */
00041 
00042 /**
00043  * IFMediaEvent notifications types
00044  */
00045 enum VPNLibEventNotificationTypeEnum_
00046   {
00047     vpnConnectionUp = 1,            /**<        */
00048     vpnConnectionDown           /**<        */
00049   };
00050 
00051 typedef UInt8 VPNLibEventNotificationTypeEnum;  /**<        */
00052 
00053 /**
00054  * Notification structure sent in vpnLibEventNotification
00055  */
00056 typedef struct vpnNotifyVPNLibTag
00057   {
00058     VPNLibEventNotificationTypeEnum eType;  /**<        */
00059     UInt8           padding1;       /**<        */
00060     UInt16          padding2;       /**<        */
00061     UInt32          ifCreator;      /**< interface creator */
00062     UInt16          ifInstance;     /**< interface instance */
00063     UInt16          padding3;       /**<        */
00064   }
00065 VPNNotifyEventType;
00066 
00067 #endif // PALM_SHIM_SETTINGS_H_

Top Palm Developer Network
© 2004-2008, Palm, Inc. All rights reserved.
Generated on Fri Jun 13 10:06:54 2008 for Palm API Guide