test-libudev.c revision 33a5cc297680f20e791c792a45fe949f715f5f69
/*
* test-libudev
*
* Copyright (C) 2008 Kay Sievers <kay.sievers@vrfy.org>
*
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#include <stdio.h>
#include <stdarg.h>
#include "libudev.h"
{
}
{
return 0;
}
void *data)
{
return 0;
}
static int properties_cb(struct udev_device *udev_device, const char *key, const char *value, void *data)
{
return 0;
}
{
struct udev_device *device;
const char *str;
}
printf("no context\n");
return 1;
}
printf("no device\n");
return 1;
}
printf("enumerating devices from all subsystems\n");
else
return 0;
}