diff options
Diffstat (limited to 'sbin/photurisd/spi.h')
-rw-r--r-- | sbin/photurisd/spi.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sbin/photurisd/spi.h b/sbin/photurisd/spi.h index b20224fb4d7..643ac53a6f0 100644 --- a/sbin/photurisd/spi.h +++ b/sbin/photurisd/spi.h @@ -27,7 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -/* $Id: spi.h,v 1.4 2000/12/14 23:28:59 provos Exp $ */ +/* $Id: spi.h,v 1.5 2000/12/15 01:06:51 provos Exp $ */ /* * spi.h: * security paramter index creation. @@ -48,9 +48,10 @@ #define SPI_LIFETIME 1800 /* 30 minutes default lifetime */ -#define SPI_OWNER 1 -#define SPI_NOTIFY 2 -#define SPI_ESP 8 /* Is used for ESP */ +#define SPI_OWNER 0x0001 +#define SPI_NOTIFY 0x0002 +#define SPI_UPDATED 0x0004 +#define SPI_ESP 0x0008 /* Is used for ESP */ struct spiob { TAILQ_ENTRY(spiob) next; /* Linked list */ @@ -81,5 +82,7 @@ EXTERN struct spiob *spi_find_attrib(char *address, u_int8_t *attrib, u_int16_t attribsize); EXTERN struct spiob *spi_find(char *, u_int8_t *); EXTERN void spi_expire(void); +EXTERN void spi_update(int, u_int8_t *); +EXTERN void spi_update_insert(struct spiob *); #endif /* _SPI_H */ |