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.
This commit is contained in:
Lucas De Marchi 2011-02-01 15:12:42 -02:00 committed by Marcel Holtmann
parent 98e942d11b
commit 7ff5365583
1 changed files with 1 additions and 0 deletions

View File

@ -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
}