home *** CD-ROM | disk | FTP | other *** search
-
-
-
- ooooppppeeeennnnpppprrrroooojjjj((((3333cccc)))) ooooppppeeeennnnpppprrrroooojjjj((((3333cccc))))
-
-
-
- NNNNAAAAMMMMEEEE
- openproj, closeproj - create/destroy a PPPPRRRROOOOJJJJ token
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<pppprrrroooojjjj....hhhh>>>>
-
- PPPPRRRROOOOJJJJ ooooppppeeeennnnpppprrrroooojjjj((((ccccoooonnnnsssstttt cccchhhhaaaarrrr ****pppprrrroooojjjjeeeecccctttt,,,, ccccoooonnnnsssstttt cccchhhhaaaarrrr ****pppprrrroooojjjjiiiidddd))));;;;
-
- vvvvooooiiiidddd cccclllloooosssseeeepppprrrroooojjjj((((PPPPRRRROOOOJJJJ ttttooookkkkeeeennnn))));;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The _o_p_e_n_d_i_r function is used to create a PPPPRRRROOOOJJJJ token. The _c_l_o_s_e_d_i_r
- function is used to destroy it when it is no longer needed.
-
- The _g_e_t_p_r_o_j_u_s_e_r family of functions (including _p_r_o_j_i_d, _p_r_o_j_n_a_m_e,
- _g_e_t_p_r_o_j_a_l_l, _g_e_t_p_r_o_j_u_s_e_r, _g_e_t_d_f_l_t_p_r_o_j_u_s_e_r and _v_a_l_i_d_a_t_e_p_r_o_j) is used to
- extract information from the pppprrrroooojjjjeeeecccctttt and pppprrrroooojjjjiiiidddd files. Because these
- functions open, read, and close the pppprrrroooojjjjeeeecccctttt and pppprrrroooojjjjiiiidddd files, they can be
- inefficient if it is necessary to use them repeatedly in the same
- program. Therefore, a second set of parallel functions is provided that
- is slightly more complex to use but runs more efficiently and is
- appropriate when repeated queries to the pppprrrroooojjjjeeeecccctttt and pppprrrroooojjjjiiiidddd files are
- required.
-
- The second set of functions makes use of a PPPPRRRROOOOJJJJ token to maintain various
- state information that reduces the overhead associated with repeated
- accesses to the pppprrrroooojjjjeeeecccctttt and pppprrrroooojjjjiiiidddd files. These functions are identical
- to their "simple" counterparts with the following exceptions:
-
- The function names are prefixed with the letter "f".
-
- An additional argument, the PPPPRRRROOOOJJJJ token itself, is included at the
- beginning of each function's argument list.
-
- The _o_p_e_n_p_r_o_j function is used to create the PPPPRRRROOOOJJJJ token. It takes two
- arguments, the pathnames to the pppprrrroooojjjjeeeecccctttt and pppprrrroooojjjjiiiidddd files. NULL can be
- specified for either or both of these arguments, in which case the system
- default pathnames (////eeeettttcccc////pppprrrroooojjjjeeeecccctttt and ////eeeettttcccc////pppprrrroooojjjjiiiidddd, respectively) will be
- used. The _c_l_o_s_e_p_r_o_j function can be used to delete the PPPPRRRROOOOJJJJ token and
- release any resources associated with it when processing is finished.
-
- FFFFIIIILLLLEEEESSSS
- ////eeeettttcccc////pppprrrroooojjjjeeeecccctttt System project authorization file.
-
- ////eeeettttcccc////pppprrrroooojjjjiiiidddd System project name to project ID mappings.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- getdfltprojuser(3C), getprojall(3C), getprojuser(3C), projid(3C),
- validateproj(3C), project(4), projid(4), projects(5).
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- ooooppppeeeennnnpppprrrroooojjjj((((3333cccc)))) ooooppppeeeennnnpppprrrroooojjjj((((3333cccc))))
-
-
-
- DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
- _o_p_e_n_p_r_o_j returns a PPPPRRRROOOOJJJJ token if successful, or NULL if not.
-
- BBBBUUUUGGGGSSSS
- Both functions use _f_o_p_e_n(3S) and are thus subject to its limitations.
-
- Project information should be (optionally) obtained via NIS.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-