[PATCH 2/2] context: add cookie loaders + setter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> We need to expose the cookie size to clients somehow. A simple #define
> should be good enough. The problem with a #define in the public API is
> that it can't be changed without breaking compatibility, but I don't
> think we can change the cookie size anyway without breaking
> compatibility between old server and new libpulse or vice versa.
> 
I would add this to pulse/def.h and replace the old macro PA_NATIVE_COOKIE_LENGTH.
+/** Cookie length in bytes. \since 5.0 */
+#define PA_COOKIE_LENGTH 256
+
-- 
Alexander Couzens

mail: lynxis at fe80.eu
sip/jabber: lynxis at c-base.org
mobile: +4915123277221


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux