summaryrefslogtreecommitdiffstats
path: root/src/util/profile/test_parse.c
Commit message (Collapse)AuthorAgeFilesLines
* Add support for loadable profile modulesGreg Hudson2011-07-201-1/+1
| | | | | | ticket: 6929 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25025 dc483132-0cff-0310-8789-dd5450dbe970
* Mark and reindent util, with some exceptionsTom Yu2009-12-071-39/+40
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23455 dc483132-0cff-0310-8789-dd5450dbe970
* make mark-cstyleTom Yu2009-10-311-3/+3
| | | | | | make reindent git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23100 dc483132-0cff-0310-8789-dd5450dbe970
* move prof-int.h to be the first include file in order to obtainJeffrey Altman2003-12-141-2/+2
| | | | | | | | | platform specific preprocessor variables used to selectively import other header files ticket: 2068 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15921 dc483132-0cff-0310-8789-dd5450dbe970
* Don't conditionalize prototypes; delete macros supporting it. (Maybe overdone;Ken Raeburn2001-10-101-1/+1
| | | | | | don't worry about restoring them when importing new versions of code.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13792 dc483132-0cff-0310-8789-dd5450dbe970
* * prof_init.c: Cleanup internal type warnings in calls to profile_initEzra Peisach2000-07-241-2/+3
| | | | | | | | | | | | * test_parse.c (main): Cast arguments to error_message. * prof_file.c (profile_open_file): Variable with argument to malloc should be unsigned. * profile.hin: Revert changes to const_profile_filespect_t and profile_filespec_t to preserve interface. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12585 dc483132-0cff-0310-8789-dd5450dbe970
* test_profile.c: Added ability to test profile set functions, and in aTheodore Tso1999-03-031-6/+2
| | | | | | | | | | | | | | | | | | | | | | batch mode. prof_init.c (profile_flush): Add new public function for flushing changes made to the profile. prof_parse.c (profile_write_tree_file): Add official internal function for flushing out a profile tree to a FILE *. configure.in, prof_file.c (rw_access): Add new function which checks to see whether we have read/write access, and emulate this for losing non-POSIX OS's. prof_file.c (profile_flush_file): Add support for writing modified profile file's. Call profile_flush_file from profile_close_file(). Also fixed minor bugs in prof_tree.c which affected renaming sections and modifying existing relations. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11237 dc483132-0cff-0310-8789-dd5450dbe970
* test_parse.c (main): Add a call to profile_verify_node so we can testTheodore Tso1999-02-191-1/+8
| | | | | | | | | | the internal rep invariants. prof_tree.c (profile_verify_node): Fix bug in profile_verify_node in the group_level test. Also make profile_verify_node check the return code when it is recursively testing the child nodes. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11189 dc483132-0cff-0310-8789-dd5450dbe970
* profile.hin: Do not multiply process the contents of this fileRichard Basch1997-02-061-13/+0
| | | | | | test_parse.c: Do not include "com_err.h" (typedef conflict) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9792 dc483132-0cff-0310-8789-dd5450dbe970
* Only include stdlib.h if it's availableTheodore Tso1996-06-241-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8547 dc483132-0cff-0310-8789-dd5450dbe970
* test_profile.c: Add usage message if not enough argumentsTheodore Tso1996-06-121-3/+4
| | | | | | | | | | | | | | | prof_parse.c (dump_profile_to_file, dump_profile): Dump the profile using the correct line terminator for Windows, Macintosh, etc. prof_parse.c: prof_file.c: Change _WINDOWS to _MSDOS, and add check for _WIN32. prof_int.h: Add size #defines for _WIN32. Handle prototypes correctly for _WIN32. prof_int.h: Added comment to profile state structure git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8318 dc483132-0cff-0310-8789-dd5450dbe970
* Make parsing more flexible, so we don't barf over lack of spacesTheodore Tso1996-02-141-0/+4
| | | | | | around the equals sign. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7479 dc483132-0cff-0310-8789-dd5450dbe970
* Changes for Macintosh implementationKeith Vetter1995-07-061-2/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6229 dc483132-0cff-0310-8789-dd5450dbe970
* Include prof_int.h. This programs relies on internal functions andEzra Peisach1995-05-091-1/+1
| | | | | | structures. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5764 dc483132-0cff-0310-8789-dd5450dbe970
* and it needs PROTOTYPE() around it..Mark Eichin1995-04-271-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5567 dc483132-0cff-0310-8789-dd5450dbe970
* * test_parse.c (main): can't make function declarations local toMark Eichin1995-04-271-1/+2
| | | | | | functions under SunOS cc. (dump_profile) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5566 dc483132-0cff-0310-8789-dd5450dbe970
* Got the profile code to work on the PCKeith Vetter1995-04-271-2/+15
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5549 dc483132-0cff-0310-8789-dd5450dbe970
* Initial checkin of the profile libraryTheodore Tso1995-04-201-0/+43
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5382 dc483132-0cff-0310-8789-dd5450dbe970