Changeset 1999:2bf15f9bcbbc in roaraudio for include/libroar/roarslp.h
- Timestamp:
- 06/15/09 17:41:37 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroar/roarslp.h
r1996 r1999 2 2 3 3 /* 4 * Copyright (C) Philipp 'ph3-der-loewe' Schafft - 200 84 * Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2009 5 5 * 6 6 * This file is part of libroar a part of RoarAudio, … … 38 38 #include "libroar.h" 39 39 40 #define ROAR_SLP_MAX_MATCHES 8 41 42 #ifndef ROAR_HAVE_LIBSLP 43 #define SLPHandle void * 44 #define SLPError int 45 #define SLPBoolean int 46 #define SLP_FALSE 0 47 #define SLP_TRUE 1 48 #endif 49 50 struct roar_slp_search { 51 char dummy[8]; 52 }; 53 54 struct roar_slp_match { 55 char * url; 56 }; 57 58 struct roar_slp_cookie { 59 struct roar_slp_search * search; 60 struct roar_slp_match match[ROAR_SLP_MAX_MATCHES]; 61 int matchcount; 62 }; 63 64 /* 65 SLPBoolean roar_slp_url_callback(SLPHandle hslp, 66 const char * srvurl, 67 unsigned short lifetime, 68 SLPError errcode, 69 void * cookie); 70 */ 71 72 int roar_slp_search (struct roar_slp_cookie * cookie, char * type); 73 int roar_slp_cookie_init (struct roar_slp_cookie * cookie, struct roar_slp_search * search); 74 75 char * roar_slp_find_roard (void); 76 int roar_slp_find_roard_r (char * addr, size_t len); 77 40 78 #endif 41 79
Note: See TracChangeset
for help on using the changeset viewer.