PERFORCE change 37032 for review
Chris Vance
cvance at FreeBSD.org
Wed Aug 27 19:49:52 GMT 2003
http://perforce.freebsd.org/chv.cgi?CH=37032
Change 37032 by cvance at cvance_release on 2003/08/27 12:49:43
Synchronize with most recent NSA release
Affected files ...
.. //depot/projects/trustedbsd/sebsd/lib/libsebsd/sebsd_context.h#2 edit
Differences ...
==== //depot/projects/trustedbsd/sebsd/lib/libsebsd/sebsd_context.h#2 (text+ko) ====
@@ -48,7 +48,7 @@
/* Return a new context initialized to a context string */
-extern context_t context_new(char *);
+extern context_t context_new(const char *);
/*
* Return a pointer to the string value of the context_t
@@ -63,16 +63,16 @@
/* Get a pointer to the string value of a context component */
-extern char* context_type_get(context_t);
-extern char* context_level_get(context_t);
-extern char* context_role_get(context_t);
-extern char* context_user_get(context_t);
+extern const char* context_type_get(context_t);
+extern const char* context_range_get(context_t);
+extern const char* context_role_get(context_t);
+extern const char* context_user_get(context_t);
/* Set a context component. Returns nonzero if unsuccessful */
-extern int context_type_set(context_t,char*);
-extern int context_level_set(context_t,char*);
-extern int context_role_set(context_t,char*);
-extern int context_user_set(context_t,char*);
+extern int context_type_set(context_t,const char*);
+extern int context_range_set(context_t,const char*);
+extern int context_role_set(context_t,const char*);
+extern int context_user_set(context_t,const char*);
#endif
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs
mailing list