sys_socket: Add support for OpenVMS.
[gnulib.git] / lib / ino-map.h
blobb7422912f2b0b3e006daacf76ee45908dcbd7adb
1 #ifndef _GL_INO_MAP_H
2 # define _GL_INO_MAP_H
4 # include <sys/types.h>
6 # undef _GL_ATTRIBUTE_NONNULL
7 # if __GNUC__ == 3 && __GNUC_MINOR__ >= 3 || 3 < __GNUC__
8 # define _GL_ATTRIBUTE_NONNULL(m) __attribute__ ((__nonnull__ (m)))
9 # else
10 # define _GL_ATTRIBUTE_NONNULL(m)
11 # endif
13 # define INO_MAP_INSERT_FAILURE ((size_t) -1)
15 struct ino_map *ino_map_alloc (size_t);
16 void ino_map_free (struct ino_map *) _GL_ATTRIBUTE_NONNULL (1);
17 size_t ino_map_insert (struct ino_map *, ino_t) _GL_ATTRIBUTE_NONNULL (1);
19 #endif