removed wrong contact points & added two authors
[platform/core/location/lbs-server.git] / lbs-server / src / data_connection.h
1 /*
2  * lbs-server
3  *
4  * Copyright (c) 2011-2013 Samsung Electronics Co., Ltd. All rights reserved.
5  *
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
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
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.
17  */
18
19 #ifndef _DATA_CONNECTION_H_
20 #define _DATA_CONNECTION_H_
21
22 /* Total Number of seconds in years between NTP Reference time(1900) to UTC reference time(1970)*/
23 #define UTC_NTP_BIAS 2208988800
24 /* Total Number of seconds in years between UTC reference time(1970) to GPS Refernce time(1980)*/
25 #define UTC_GPS_BIAS 315964800
26
27 #define MAX_NUMBER_OF_URLS 3
28
29 #include <glib.h>
30
31 unsigned int start_pdp_connection(void);
32 unsigned int stop_pdp_connection(void);
33
34 unsigned int query_dns(char *pdns_lookup_addr, unsigned int *ipaddr, int *port);
35
36 #endif