mirror of git://git.sysmocom.de/ofono
gprs: Use ofono_bool_t instead of gboolean
This commit is contained in:
parent
2ead77e133
commit
543db63f19
|
@ -97,7 +97,7 @@ void ofono_gprs_context_set_interface(struct ofono_gprs_context *gc,
|
||||||
|
|
||||||
void ofono_gprs_context_set_ipv4_address(struct ofono_gprs_context *gc,
|
void ofono_gprs_context_set_ipv4_address(struct ofono_gprs_context *gc,
|
||||||
const char *address,
|
const char *address,
|
||||||
gboolean static_ip);
|
ofono_bool_t static_ip);
|
||||||
void ofono_gprs_context_set_ipv4_netmask(struct ofono_gprs_context *gc,
|
void ofono_gprs_context_set_ipv4_netmask(struct ofono_gprs_context *gc,
|
||||||
const char *netmask);
|
const char *netmask);
|
||||||
void ofono_gprs_context_set_ipv4_gateway(struct ofono_gprs_context *gc,
|
void ofono_gprs_context_set_ipv4_gateway(struct ofono_gprs_context *gc,
|
||||||
|
|
|
@ -98,7 +98,7 @@ struct ofono_gprs {
|
||||||
};
|
};
|
||||||
|
|
||||||
struct ipv4_settings {
|
struct ipv4_settings {
|
||||||
gboolean static_ip;
|
ofono_bool_t static_ip;
|
||||||
char *ip;
|
char *ip;
|
||||||
char *netmask;
|
char *netmask;
|
||||||
char *gateway;
|
char *gateway;
|
||||||
|
@ -2381,7 +2381,7 @@ void ofono_gprs_context_set_interface(struct ofono_gprs_context *gc,
|
||||||
|
|
||||||
void ofono_gprs_context_set_ipv4_address(struct ofono_gprs_context *gc,
|
void ofono_gprs_context_set_ipv4_address(struct ofono_gprs_context *gc,
|
||||||
const char *address,
|
const char *address,
|
||||||
gboolean static_ip)
|
ofono_bool_t static_ip)
|
||||||
{
|
{
|
||||||
struct context_settings *settings = gc->settings;
|
struct context_settings *settings = gc->settings;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue