version 1.1.1.1, 2012/02/21 16:23:02
|
version 1.1.1.2, 2013/07/22 10:46:12
|
Line 1
|
Line 1
|
/* |
/* |
* Copyright (c) 2004, 2007, 2010 Todd C. Miller <Todd.Miller@courtesan.com> | * Copyright (c) 2004, 2007, 2010, 2013 |
| * Todd C. Miller <Todd.Miller@courtesan.com> |
* |
* |
* Permission to use, copy, modify, and distribute this software for any |
* Permission to use, copy, modify, and distribute this software for any |
* purpose with or without fee is hereby granted, provided that the above |
* purpose with or without fee is hereby granted, provided that the above |
Line 14
|
Line 15
|
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
*/ |
*/ |
|
|
#ifndef _SUDO_REDBLACK_H | #ifndef _SUDOERS_REDBLACK_H |
#define _SUDO_REDBLACK_H | #define _SUDOERS_REDBLACK_H |
|
|
enum rbcolor { |
enum rbcolor { |
red, |
red, |
Line 54 struct rbnode *rbinsert(struct rbtree *, void *);
|
Line 55 struct rbnode *rbinsert(struct rbtree *, void *);
|
struct rbtree *rbcreate(int (*)(const void *, const void *)); |
struct rbtree *rbcreate(int (*)(const void *, const void *)); |
void rbdestroy(struct rbtree *, void (*)(void *)); |
void rbdestroy(struct rbtree *, void (*)(void *)); |
|
|
#endif /* _SUDO_REDBLACK_H */ | #endif /* _SUDOERS_REDBLACK_H */ |