summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2010-01-25 13:33:37 +0800
committerChia-I Wu <olvaffe@gmail.com>2010-01-25 13:33:37 +0800
commit0bb76bac0bc5a198bf17d6d5d6cbaa333730ca11 (patch)
treef2363e23111327c34d81d4e55b7231377b619344
parent0b2bfd08b6b628690f2e78f51f30803b657c409d (diff)
Rename st_manager_api to st_manager.
-rw-r--r--st_api.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/st_api.h b/st_api.h
index a4b88e1..272fe0e 100644
--- a/st_api.h
+++ b/st_api.h
@@ -307,7 +307,7 @@ struct st_api
*
* This interface is implemented by the state tracker manager.
*/
-struct st_manager_api
+struct st_manager
{
/**
* Lock and unlock a state tracker manager resource.
@@ -315,8 +315,8 @@ struct st_manager_api
* This gives access to the underlying data structure of a state tracker
* manager resource.
*/
- void *(*lock_resource)(const struct st_manager_api *smapi, void *res);
- void (*unlock_resource)(const struct st_manager_api *smapi, void *res);
+ void *(*lock_resource)(const struct st_manager *smapi, void *res);
+ void (*unlock_resource)(const struct st_manager *smapi, void *res);
};
/**
@@ -327,7 +327,7 @@ struct st_manager_api
struct st_module
{
enum st_module_api api;
- struct st_api *(*create_api)(const struct st_manager_api *smapi);
+ struct st_api *(*create_api)(const struct st_manager *smapi);
};
/**