/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* Solaris Audit Token Table.
*/
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <bsm/audit_record.h>
#include "praudit.h"
#include "toktable.h"
#define table_init(i, n, f, t) \
tokentable[(int)(i)].t_name = (n); \
tokentable[(int)(i)].t_tagname = (n); \
tokentable[(int)(i)].func = (f); \
tokentable[(int)(i)].t_type = (t);
/* table_initx is for entries which need name different from tagname */
tokentable[(int)(i)].t_name = (n); \
tokentable[(int)(i)].func = (f); \
tokentable[(int)(i)].t_type = (t);
/*
* Initialize the table of tokens & other tags.
*/
void
init_tokens(void)
{
/*
* TRANSLATION_NOTE
* These names refer to different type of audit tokens.
* To gain a better understanding of each token, read
* System Administration Guide: Security Services >> Solaris Auditing
* at http://docs.sun.com.
*/
/*
* Control token types
*/
/*
* Data token types
*/
/*
* Modifier token types
*/
/*
* X windows token types
*/
/*
* Command token types
*/
/*
* Miscellaneous token types
*/
/*
* Solaris64 token types
*/
/*
* Extended network address token types
*/
#ifdef _PRAUDIT
/*
* Done with tokens above here. Now do remaining tags.
*/
/* Sub-element of groups & newgroups token: */
#endif /* _PRAUDIT */
}