protocol-native: move compat_v2 to protocol

This commit is contained in:
Wim Taymans 2023-07-11 15:59:09 +02:00
parent 7d6fc0f544
commit 17bc9d520e
4 changed files with 12 additions and 8 deletions

View file

@ -27,3 +27,9 @@ static inline void *get_first_pod_from_data(void *data, uint32_t maxsize, uint64
return NULL;
return pod;
}
struct protocol_compat_v2 {
/* v2 typemap */
struct pw_map types;
unsigned int send_types:1;
};

View file

@ -22,6 +22,7 @@
#include "interfaces.h"
#include "typemap.h"
#include "../defs.h"
#include "../connection.h"
PW_LOG_TOPIC_EXTERN(mod_topic);