You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2010/11/16 21:22:08 UTC

svn commit: r1035782 [8/29] - in /trafficserver/traffic/trunk: example/add-header/ example/append-transform/ example/basic-auth/ example/blacklist-0/ example/blacklist-1/ example/bnull-transform/ example/cache_plugin/ example/cache_scan/ example/file-1...

Modified: trafficserver/traffic/trunk/proxy/InkAPIInternal.h
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/proxy/InkAPIInternal.h?rev=1035782&r1=1035781&r2=1035782&view=diff
==============================================================================
--- trafficserver/traffic/trunk/proxy/InkAPIInternal.h (original)
+++ trafficserver/traffic/trunk/proxy/InkAPIInternal.h Tue Nov 16 20:22:02 2010
@@ -100,7 +100,7 @@ public:
 struct INKConfigImpl:public ConfigInfo
 {
   void *mdata;
-  INKConfigDestroyFunc m_destroy_func;
+  TSConfigDestroyFunc m_destroy_func;
 
     virtual ~ INKConfigImpl()
   {
@@ -147,16 +147,16 @@ public:
   ~HttpAPIHooks();
 
   void clear();
-  void prepend(INKHttpHookID id, INKContInternal * cont);
-  void append(INKHttpHookID id, INKContInternal * cont);
-  APIHook *get(INKHttpHookID id);
+  void prepend(TSHttpHookID id, INKContInternal * cont);
+  void append(TSHttpHookID id, INKContInternal * cont);
+  APIHook *get(TSHttpHookID id);
 
   // A boolean value to quickly see if
   //   any hooks are set
   int hooks_set;
 
 private:
-  APIHooks m_hooks[INK_HTTP_LAST_HOOK];
+  APIHooks m_hooks[TS_HTTP_LAST_HOOK];
 };
 
 
@@ -167,16 +167,16 @@ public:
   ~CacheAPIHooks();
 
   void clear();
-  void prepend(INKCacheHookID id, INKContInternal * cont);
-  void append(INKCacheHookID id, INKContInternal * cont);
-  APIHook *get(INKCacheHookID id);
+  void prepend(TSCacheHookID id, INKContInternal * cont);
+  void append(TSCacheHookID id, INKContInternal * cont);
+  APIHook *get(TSCacheHookID id);
 
   // A boolean value to quickly see if
   //   any hooks are set
   int hooks_set;
 
 private:
-    APIHooks m_hooks[INK_HTTP_LAST_HOOK];
+    APIHooks m_hooks[TS_HTTP_LAST_HOOK];
 };
 
 
@@ -196,11 +196,11 @@ public:
       if (!trylock) {
         eventProcessor.schedule_in(this, HRTIME_MSECONDS(10), ET_NET);
       } else {
-        m_cont->handleEvent(INK_EVENT_MGMT_UPDATE, NULL);
+        m_cont->handleEvent(TS_EVENT_MGMT_UPDATE, NULL);
         delete this;
       }
     } else {
-      m_cont->handleEvent(INK_EVENT_MGMT_UPDATE, NULL);
+      m_cont->handleEvent(TS_EVENT_MGMT_UPDATE, NULL);
       delete this;
     }
 
@@ -230,6 +230,4 @@ void api_init();
 extern HttpAPIHooks *http_global_hooks;
 extern ConfigUpdateCbTable *global_config_cbs;
 
-//extern inkcoreapi INKMCOPreload_fp MCOPreload_fp;
-
 #endif /* __INK_API_INTERNAL_H__ */