chat: fix sipe_core_chat_type() interface
commitb98703c0f6ed2cb29fab0603c7bc6b16a0b3950b
authorStefan Becker <chemobejk@gmail.com>
Wed, 15 Mar 2017 17:25:12 +0000 (15 19:25 +0200)
committerStefan Becker <chemobejk@gmail.com>
Wed, 15 Mar 2017 17:42:48 +0000 (15 19:42 +0200)
treecaf9ecf83769f339782af38ddc7c7e711739961c
parent3b53fe0682839bafe871cc449477c838c0763f82
chat: fix sipe_core_chat_type() interface

This reverts commit aa83a9dc160be8facb143db02ce1361fb3af76d7.

Interface headers must be inclusion order agnostic. As you can't
properly forward typedef enum types that means you have to convert enum
typedefs to #defines when moving an interface type to the public
interface.

Implement the interface change correctly and revert the inclusion order
changes in all other modules.

Update copyright date ranges.
13 files changed:
src/api/sipe-core.h
src/core/sipe-appshare.c
src/core/sipe-buddy.c
src/core/sipe-chat.c
src/core/sipe-chat.h
src/core/sipe-conf.c
src/core/sipe-core.c
src/core/sipe-groupchat.c
src/core/sipe-im.c
src/core/sipe-incoming.c
src/core/sipe-session.c
src/core/sipe-user.c
src/purple/purple-chat.c