* fix include file names in installed header files

* add browsing API
* add new tool pabrowse
* add typeid subsystem 
* bump API version
* split off random.c
* add an identification cookie


git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@320 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Lennart Poettering 2004-12-12 22:58:53 +00:00
parent 9a01cf44f0
commit e02be6c15b
58 changed files with 971 additions and 169 deletions

View file

@ -24,6 +24,7 @@
#include "core.h"
#include "module.h"
#include "typeid.h"
/* Every connection to the server should have a pa_client
* attached. That way the user may generate a listing of all connected
@ -31,18 +32,17 @@
struct pa_client {
uint32_t index;
pa_typeid_t typeid;
struct pa_module *owner;
char *name;
struct pa_core *core;
char *protocol_name;
void (*kill)(struct pa_client *c);
void *userdata;
};
/* Protocol name should be something like "ESOUND", "NATIVE", ... */
struct pa_client *pa_client_new(struct pa_core *c, const char *protocol_name, char *name);
struct pa_client *pa_client_new(struct pa_core *c, pa_typeid_t typeid, const char *name);
/* This function should be called only by the code that created the client */
void pa_client_free(struct pa_client *c);