<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>unbound: winrc/unbound-service-install.c File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.9 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="dir_6ddbd83ded91923648db8c933be08f55.html">winrc</a> </div> </div> <div class="contents"> <h1>unbound-service-install.c File Reference</h1>This file contains functions to integrate with the windows services API. <a href="#_details">More...</a> <p> <code>#include "config.h"</code><br> <code>#include "<a class="el" href="w__inst_8h.html">winrc/w_inst.h</a>"</code><br> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3c04138a5bfe5d72780bb7e82a18e627"></a><!-- doxytag: member="unbound-service-install.c::main" ref="3c04138a5bfe5d72780bb7e82a18e627" args="(int argc, char **argv)" --> int </td><td class="memItemRight" valign="bottom"><a class="el" href="unbound-service-install_8c.html#3c04138a5bfe5d72780bb7e82a18e627">main</a> (int argc, char **argv)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Install service main. <br></td></tr> </table> <hr><h2>Detailed Description</h2> This file contains functions to integrate with the windows services API. <p> This means it handles the commandline switches to install and remove the service (via CreateService and DeleteService), it handles the ServiceMain() main service <a class="el" href="structentry.html" title="data structure to keep the canned queries in.">entry</a> point when started as a service, and it handles the Handler[_ex]() to process requests to the service (such as start and stop and status). </div> <hr size="1"><address style="text-align: right;"><small>Generated on Tue Oct 13 06:46:33 2009 for unbound by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> </body> </html>