This will need its own compat copy of some of the strings from

quotaprop.h even after the latter goes away.
This commit is contained in:
dholland 2012-01-30 19:19:55 +00:00
parent 3e2a4d1109
commit 36e1f47401
1 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: getufsquota.c,v 1.6 2012/01/09 15:31:11 dholland Exp $ */
/* $NetBSD: getufsquota.c,v 1.7 2012/01/30 19:19:55 dholland Exp $ */
/*-
* Copyright (c) 2011 Manuel Bouyer
@ -27,17 +27,20 @@
*/
#include <sys/cdefs.h>
__RCSID("$NetBSD: getufsquota.c,v 1.6 2012/01/09 15:31:11 dholland Exp $");
__RCSID("$NetBSD: getufsquota.c,v 1.7 2012/01/30 19:19:55 dholland Exp $");
#include <string.h>
#include <errno.h>
#include <quota/quota.h>
#include <quota/quotaprop.h> /* for QUOTADICT_CLASS_* strings */
#include <quota.h>
#include "quotapvt.h"
/* Some strings passed to getufsquota() and friends */
#define QUOTADICT_CLASS_USER "user"
#define QUOTADICT_CLASS_GROUP "group"
/*
* Return true if QV contains any actual information.
*