sdptool.h

Go to the documentation of this file.
00001 /*
00002  Copyright (c) 2007, Forkbeard team
00003 
00004  All rights reserved.
00005 
00006  Licensed under BSD license. See License.txt
00007 */
00008 
00009 #ifndef __SDPTOOL_H__
00010 #define __SDPTOOL_H__
00011 
00012 
00078 #include "parseOpts.h"
00079 #include <stdio.h>
00080 #include <winsock2.h>
00081 #include <bthdef.h>
00082 #include <Bthsdpdef.h>
00083 #include <BluetoothAPIs.h>
00084 #include <Ws2bth.h>
00085 #include "common_util.h"
00086 #include "xmlprint.h"
00087 
00088 /* Global pointter to the XML printing */
00089 xmlprintOutput *output = NULL;
00090 
00091 
00092 /* --------------------------------------------------------------------------*/
00100 BOOL CtrlHandler( DWORD fdwCtrlType ) ;
00101 /* --------------------------------------------------------------------------*/
00102 
00103 
00104 /* --------------------------------------------------------------------------*/
00113 void printERROR(char message[], int xml);
00114 /* --------------------------------------------------------------------------*/
00115 
00116 
00117 /* --------------------------------------------------------------------------*/
00127 void printChannelXML(char addressAsString[], DWORD addressSize);
00128 /* --------------------------------------------------------------------------*/
00129 
00130 
00131 /* --------------------------------------------------------------------------*/
00141 void printChannel(char addressAsString[], DWORD addressSize, int xml);
00142 /* --------------------------------------------------------------------------*/
00143 
00144 
00145 /* --------------------------------------------------------------------------*/
00153 void printServiceNameXML(char service[]);
00154 /* --------------------------------------------------------------------------*/
00155 
00156 
00157 /* --------------------------------------------------------------------------*/
00166 void printServiceName(char service[], int xml);
00167 /* --------------------------------------------------------------------------*/
00168 
00169 
00170 /* --------------------------------------------------------------------------*/
00180 void printDevice(char addressAsString[1000], WSAQUERYSET* pretvalueStruct, int xml);
00181 /* --------------------------------------------------------------------------*/
00182 
00183 
00184 /* --------------------------------------------------------------------------*/
00192 void help (void);
00193 /* --------------------------------------------------------------------------*/
00194 
00195 
00196 /* --------------------------------------------------------------------------*/
00204 int main(int argc, char* argv[]);
00205 /* --------------------------------------------------------------------------*/
00206 
00207 
00208 #endif /* __SCANNER_H__  */
00209 
00210 // End of file  
footer
 SourceForge.net Logo