summaryrefslogtreecommitdiff
path: root/src/sss_client/protos.h
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2013-01-07 22:22:42 -0500
committerSimo Sorce <simo@redhat.com>2013-01-08 16:00:50 -0500
commit2eaf2045b5b55cdaff6ae5704225cf9a75b16950 (patch)
tree4310376611d96e15ade8a9d0c27100c0da9e6c0a /src/sss_client/protos.h
parentfa0dba8f5536537a69d47218f2372d0f2582c12e (diff)
downloadsssd-2eaf2045b5b55cdaff6ae5704225cf9a75b16950.tar.gz
sssd-2eaf2045b5b55cdaff6ae5704225cf9a75b16950.tar.bz2
sssd-2eaf2045b5b55cdaff6ae5704225cf9a75b16950.zip
Remove unhelpful vtable from sss_cache
Using a vtable like this has various drawacks, including the fact prototypes are not checked by the compiler so the code could silently break and still compile fine (in fact I found this out changing one of the prototypes). A switch statement is also better because it catches if the enum changed and won't risk allowing to access the table out of bounds.
Diffstat (limited to 'src/sss_client/protos.h')
0 files changed, 0 insertions, 0 deletions