<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title>lomoco: lomoco/lomoco_scan.h Source File</title> <style type="text/css"> .cp-doNotDisplay { display: none; } @media aural, braille, handheld, tty { .cp-doNotDisplay { display: inline; speak: normal; }} .cp-edit { text-align: right; } @media print, embossed { .cp-edit { display: none; }} </style> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta name="MSSmartTagsPreventParsing" content="true" /> <meta name="robots" content="all" /> <link rel="stylesheet" type="text/css" href="doxygen.css" /> <link rel="stylesheet" media="screen" type="text/css" href="csync.css" /> <link rel="stylesheet" media="print, embossed" type="text/css" href="print.css" /> </head> <body> <ul class="cp-doNotDisplay"> <li><a href="#cp-content" accesskey="2">Skip to content</a></li> <li><a href="#cp-menu" accesskey="5">Skip to link menu</a></li> </ul> <div id="container"> <div id="header"> <div id="header_top"><div><div style="padding: 10px 30px;"> <!-- <img alt ="" src="top-kde.jpg"/> --> csync API Reference </div></div></div> <div id="header_bottom"> <div id="location"> <ul> <li><a href="index.html">csync</a></li> </ul> </div> <div id="menu"> <ul><li><a href="http://www.csync.org/">Sitemap</a></li> <li><a href="http://www.csync.org/">Contact Us</a></li> </ul> </div> </div> </div> <!-- End page header --> <div id="body_wrapper"> <div id="body"> <!-- begin main content --> <div id="right"> <div class="content"> <div id="main"> <div class="clearer"> </div> <!-- <h2><a name="content"></a>lomoco</h2> --> <!-- BC --> <!-- Generated by Doxygen 1.5.9 --> <div class="navpath"><a class="el" href="dir_77ee8add767687b3d3811ff476d1a4f3.html">lomoco</a> </div> <div class="contents"> <h1>lomoco_scan.h</h1><a href="lomoco__scan_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> <a name="l00002"></a>00002 <span class="comment"> * lomoco - Logitech Mouse Control for Linux</span> <a name="l00003"></a>00003 <span class="comment"> *</span> <a name="l00004"></a>00004 <span class="comment"> * Copyright (c) 2007 by Andreas Schneider <mail@cynapses.org></span> <a name="l00005"></a>00005 <span class="comment"> *</span> <a name="l00006"></a>00006 <span class="comment"> * This program is free software; you can redistribute it and/or</span> <a name="l00007"></a>00007 <span class="comment"> * modify it under the terms of the GNU General Public License</span> <a name="l00008"></a>00008 <span class="comment"> * as published by the Free Software Foundation; either version 2</span> <a name="l00009"></a>00009 <span class="comment"> * of the License, or (at your option) any later version.</span> <a name="l00010"></a>00010 <span class="comment"> *</span> <a name="l00011"></a>00011 <span class="comment"> * This program is distributed in the hope that it will be useful,</span> <a name="l00012"></a>00012 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span> <a name="l00013"></a>00013 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span> <a name="l00014"></a>00014 <span class="comment"> * GNU General Public License for more details.</span> <a name="l00015"></a>00015 <span class="comment"> *</span> <a name="l00016"></a>00016 <span class="comment"> * You should have received a copy of the GNU General Public License</span> <a name="l00017"></a>00017 <span class="comment"> * along with this program; if not, write to the Free Software Foundation,</span> <a name="l00018"></a>00018 <span class="comment"> * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</span> <a name="l00019"></a>00019 <span class="comment"> *</span> <a name="l00020"></a>00020 <span class="comment"> * vim: ts=2 sw=2 et cindent</span> <a name="l00021"></a>00021 <span class="comment"> */</span> <a name="l00022"></a>00022 <a name="l00023"></a>00023 <span class="preprocessor">#ifndef _LOMOCO_SCAN_H</span> <a name="l00024"></a>00024 <span class="preprocessor"></span><span class="preprocessor">#define _LOMOCO_SCAN_H</span> <a name="l00025"></a>00025 <span class="preprocessor"></span> <a name="l00026"></a>00026 <span class="preprocessor">#include "<a class="code" href="lomoco__list_8h.html" title="lomoco_list_t -- a doubly-linked list.">lomoco_list.h</a>"</span> <a name="l00027"></a>00027 <a name="l00028"></a>00028 <span class="preprocessor">#include "<a class="code" href="lomoco_8h.html">lomoco.h</a>"</span> <a name="l00029"></a>00029 <span class="comment"></span> <a name="l00030"></a>00030 <span class="comment">/**</span> <a name="l00031"></a>00031 <span class="comment"> * @brief Get all attached and supported usb devices.</span> <a name="l00032"></a>00032 <span class="comment"> *</span> <a name="l00033"></a>00033 <span class="comment"> * Get all attached and supported mice and receivers.</span> <a name="l00034"></a>00034 <span class="comment"> *</span> <a name="l00035"></a>00035 <span class="comment"> * @param base The initialized base structure.</span> <a name="l00036"></a>00036 <span class="comment"> * @param list The doubly-linked list to append found devices.</span> <a name="l00037"></a>00037 <span class="comment"> * </span> <a name="l00038"></a>00038 <span class="comment"> * @return The new head of the doubly-linked list.</span> <a name="l00039"></a>00039 <span class="comment"> */</span> <a name="l00040"></a>00040 <a class="code" href="structlomoco__list__s.html" title="Used for each element in a doubly-linked list.">lomoco_list_t</a> *<a class="code" href="lomoco__scan_8h.html#fd214b970abe5b35d1ba7be6db4953db" title="Get all attached and supported usb devices.">lomoco_get_usb_devices</a>(<a class="code" href="structlomoco__base__s.html" title="Used to store all needed information for lomoco.">lomoco_base_t</a> *base, <a class="code" href="structlomoco__list__s.html" title="Used for each element in a doubly-linked list.">lomoco_list_t</a> *list); <a name="l00041"></a>00041 <span class="comment"></span> <a name="l00042"></a>00042 <span class="comment">/**</span> <a name="l00043"></a>00043 <span class="comment"> * @brief Get all attached and supported devices using hiddev.</span> <a name="l00044"></a>00044 <span class="comment"> *</span> <a name="l00045"></a>00045 <span class="comment"> * Get all attached and supported mice and receivers using hiddev.</span> <a name="l00046"></a>00046 <span class="comment"> *</span> <a name="l00047"></a>00047 <span class="comment"> * @param base The initialized base structure.</span> <a name="l00048"></a>00048 <span class="comment"> * @param list The doubly-linked list to append found devices.</span> <a name="l00049"></a>00049 <span class="comment"> * </span> <a name="l00050"></a>00050 <span class="comment"> * @return The new head of the doubly-linked list.</span> <a name="l00051"></a>00051 <span class="comment"> */</span> <a name="l00052"></a>00052 <a class="code" href="structlomoco__list__s.html" title="Used for each element in a doubly-linked list.">lomoco_list_t</a> *<a class="code" href="lomoco__scan_8h.html#99fdc10e8bb341ad18ef482b4feab0bb" title="Get all attached and supported devices using hiddev.">lomoco_get_hid_devices</a>(<a class="code" href="structlomoco__base__s.html" title="Used to store all needed information for lomoco.">lomoco_base_t</a> *base, <a class="code" href="structlomoco__list__s.html" title="Used for each element in a doubly-linked list.">lomoco_list_t</a> *list); <a name="l00053"></a>00053 <a name="l00054"></a>00054 <span class="preprocessor">#endif </span><span class="comment">/* _LOMOCO_SCAN_H */</span> <a name="l00055"></a>00055 </pre></div></div> </div> </div> </div> <div id="left"> <div class="menu_box"> <a name="cp-menu" /><div class="menutitle"><div> <h2 id="cp-menu-project">lomoco</h2> <a href="#cp-skip-project" class="cp-doNotDisplay">Skip menu "lomoco"</a> </div></div> <!-- menu --> <div class="menu_box"> <a name="cp-menu" /><div class="menutitle"><div> <h2 id="cp-menu-project">API Documentation</h2> <a href="#cp-skip-project" class="cp-doNotDisplay">Skip menu "@topname@"</a> </div></div> <div class="nav_list"> <ul> <!-- gmenu --> </ul></div></div> </div> </div> <div class="clearer"></div> </div> <div class="clearer"></div> </div> <div id="end_body"></div> <div id="footer"><div id="footer_text"> Generated with <a href="http://www.stack.nl/~dimitri/doxygen/" target="_blank">Doxygen</a> </div></div> </div> </body> </html>