[SSSD] [PATCHES] Refactor proxy.c

Stephen Gallagher sgallagh at redhat.com
Fri Jun 25 15:47:02 UTC 2010


Patch 0001: Rename proxy_ctx to proxy_id_ctx for clarity

Patch 0002: Split proxy.c into smaller files

proxy.c was growing too large to manage (and some graphical
development tools could no longer open it because of memory
limitations).

This patch splits proxy.c into the following files:
proxy_init.c:   Setup routines for the plugin
proxy_id.c:     Functions to handle user and group lookups
proxy_auth.c:   Functions to handle PAM interactions
proxy_common.c: Common utility routines


There are no functional changes in these patches (I tested them with 
nss_ldapd and pam_krb5.so). They simply make the code more maintainable.

These changes are for master only.

-- 
Stephen Gallagher
RHCE 804006346421761

Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Rename-proxy_ctx-to-proxy_id_ctx-for-clarity.patch
Type: text/x-patch
Size: 5540 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100625/7e49f881/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Split-proxy.c-into-smaller-files.patch
Type: text/x-patch
Size: 162071 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100625/7e49f881/attachment-0001.bin>


More information about the sssd-devel mailing list