-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Eric,
On 4/10/20 15:56, Eric Covener wrote: >>> Note: If you move to r->notes (also a table) you can use >>> apr_table_setn to pass a casted pointer and retrieve the >>> pointer on the other side. But this is probably a last >>> resort. >> >> I'm not sure I follow, other than mechanically. Why might I want >> to do that, exactly? > > Quick and dirty way for two modules to pass a reference to a > struct around. mod_session providers use it almost like a cache. Aha, okay. In this case, we're just setting an environment variable and making sure we clean-up after ourselves. Any other modules who want that data can find it in the environment :) - -chris -----BEGIN PGP SIGNATURE----- Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl6UhdwACgkQHPApP6U8 pFjTPA/9FTTZLBVzCS0n/5NXLwCWCZGYZdRC00ODh/Xu+Lo0OBPkAQ5vSH4zQigx MS7Y3p7VCWEkQ9uxl+JDmxgXROsYbxbgbvl4xu1tK4kkLcoE7lBAye/rwJ3NA9YO C1Xu6sO90cURtIAXgaD4pP7jT914H8LAhJ765U25VmuEkXjyhhzkGNO1PPENFWRL 44ijSB1d5HgzX5PJmll8AuawHHvKZnhWodiWTeOl6jgZxmP6caGp0SlgNfZoSddx L3H4S+B5pyJCP2EkZ7EtXCTMVDqrHqsRlazFLji2GKHImO1t5BKh1psWQd64vwHi wA8cumpaSk0YtXdl+uVAh3RK9v9Yk621PhlIDUjU7XhF4v8t34odCaw8K96yoWlN TQULdCcIok869rEtONnfbB13pGTtG450JkWZPFatoU9Kkq5k9l4LAwAP+LCLYnK9 rL8IOw2arU1fZ9F2R3/60qZsPwD0UyuCfvUFgRv24BA64bg6Dek/z6XT1B92JI2x NIPHOQvSA8bQMdcZuzfd0lNH8ofUSP8pVnaPWANFzwjhcUbmHADb0XkOihxebUIj Gvx6npacu+H+V3uvHRZzcFKXlBtiqtzNcBlIMS4V/lx+1yXqFsP6wgzlCWshdPHW R+5Qzl6ljlBzYfnd9VF7gjVnE81Az4t2usyTnFKyjhgYRuZPfT4= =jJCz -----END PGP SIGNATURE-----
