]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - cups/dir.h
Greatly simplify the man page handling.
[thirdparty/cups.git] / cups / dir.h
index 9b5eb3ceffe0bb6eae6bcf8ce4e540d487e23b6b..f6878cbd4b3c36903250721f639d750e71a8baa8 100644 (file)
@@ -1,18 +1,12 @@
 /*
- * "$Id$"
+ * Public directory definitions for CUPS.
  *
- *   Public directory definitions for the Common UNIX Printing System (CUPS).
+ * This set of APIs abstracts enumeration of directory entries.
  *
- *   This set of APIs abstracts enumeration of directory entries.
+ * Copyright 2007-2011 by Apple Inc.
+ * Copyright 1997-2006 by Easy Software Products, all rights reserved.
  *
- *   Copyright 2007 by Apple Inc.
- *   Copyright 1997-2006 by Easy Software Products, all rights reserved.
- *
- *   These coded instructions, statements, and computer programs are the
- *   property of Apple Inc. and are protected by Federal copyright
- *   law.  Distribution and use rights are outlined in the file "LICENSE.txt"
- *   which should have been included with this file.  If this file is
- *   file is missing or damaged, see the license at "http://www.cups.org/".
+ * Licensed under Apache License v2.0.  See the file "LICENSE" for more information.
  */
 
 #ifndef _CUPS_DIR_H_
@@ -23,6 +17,7 @@
  * Include necessary headers...
  */
 
+#  include "versioning.h"
 #  include <sys/stat.h>
 
 
@@ -52,17 +47,13 @@ typedef struct cups_dentry_s                /**** Directory entry type ****/
  * Prototypes...
  */
 
-extern void            cupsDirClose(cups_dir_t *dp);
-extern cups_dir_t      *cupsDirOpen(const char *directory);
-extern cups_dentry_t   *cupsDirRead(cups_dir_t *dp);
-extern void            cupsDirRewind(cups_dir_t *dp);
+extern void            cupsDirClose(cups_dir_t *dp) _CUPS_API_1_2;
+extern cups_dir_t      *cupsDirOpen(const char *directory) _CUPS_API_1_2;
+extern cups_dentry_t   *cupsDirRead(cups_dir_t *dp) _CUPS_API_1_2;
+extern void            cupsDirRewind(cups_dir_t *dp) _CUPS_API_1_2;
 
 
 #  ifdef __cplusplus
 }
 #  endif /* __cplusplus */
 #endif /* !_CUPS_DIR_H_ */
-
-/*
- * End of "$Id$".
- */