summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@profusion.mobi>2011-02-01 15:12:42 -0200
committerMarcel Holtmann <marcel@holtmann.org>2011-02-01 18:30:44 +0100
commit7ff536558378f9b59e0725b09f44be9c6aea39bb (patch)
tree668ac8a713c4abc468dd03acb16f953b1a264ee8
parent98e942d11b32cacef4d3051697e40f1bb918d1e9 (diff)
downloadofono-7ff536558378f9b59e0725b09f44be9c6aea39bb.tar.bz2
include: define initializer for ofono_call
Some fields in struct ofono_call such as cnap_validity and clip_validity are not correctly initialized as 0 since this means they are present. If driver does not implement the necessary handlers, it might send to core an ofono_call signalling that cnap and clip are available when they are actually not.
-rw-r--r--include/types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/types.h b/include/types.h
index 0faff54e..31f2682e 100644
--- a/include/types.h
+++ b/include/types.h
@@ -116,6 +116,7 @@ struct ofono_uuid {
};
const char *ofono_uuid_to_str(const struct ofono_uuid *uuid);
+void ofono_call_init(struct ofono_call *call);
#ifdef __cplusplus
}