Love Hörnquist Åstrand <[email protected]> writes: > I don't see any problems, however, I want to ask a question. > > That do you plan to do with the value you get back ? From your problem > description this api would also solve your problem description. > > int k_haspag(void); /* k_isinpag() ? */
That's a good point, and I was pondering whether that would be a better approach. The only advantage to returning the actual PAG number that I can think of is that it allows one to remember it and later determine whether one is still in the same PAG, but off the top of my head I can't think of a case when I'd want to do that. k_haspag() would be fine with me as well, and would simplify the interface (no need for a uint32_t type or the K_NOPAG define). -- Russ Allbery ([email protected]) <http://www.eyrie.org/~eagle/> _______________________________________________ OpenAFS-devel mailing list [email protected] https://lists.openafs.org/mailman/listinfo/openafs-devel
