2 * tel-plugin-at_standard
4 * Copyright (c) 2012 Intel Corporation. All rights reserved.
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.apache.org/licenses/LICENSE-2.0
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
28 #include <core_object.h>
34 static TReturn activate_ps_context(CoreObject *co_ps, CoreObject *ps_context,
37 return TCORE_RETURN_SUCCESS;
40 static TReturn deactivate_ps_context(CoreObject *co_ps, CoreObject *ps_context,
43 return TCORE_RETURN_SUCCESS;
46 static struct tcore_ps_operations ps_ops = {
47 .activate_context = activate_ps_context,
48 .deactivate_context = deactivate_ps_context
51 gboolean at_ps_init(TcorePlugin *p)
55 co_ps = tcore_ps_new(p, "umts_ps", &ps_ops, NULL);
62 void at_ps_exit(TcorePlugin *p)
66 co_ps = tcore_plugin_ref_core_object(p, "umts_ps");