diff options
author | Russ Allbery <rra@stanford.edu> | 2007-08-28 20:31:25 +0000 |
---|---|---|
committer | Russ Allbery <rra@stanford.edu> | 2007-08-28 20:31:25 +0000 |
commit | 0a326e5dfdfc707c94d6c803dcb14a1e0bd9cccf (patch) | |
tree | 98af7bc58b1fcb5628c755a362401e7ea2acec63 | |
parent | 43fd7cb9bca3b7521d2729d0e81fbc66c788212c (diff) |
Add an accessor function to retrieve the ACL ID.
-rw-r--r-- | perl/Wallet/ACL.pm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/perl/Wallet/ACL.pm b/perl/Wallet/ACL.pm index 06dd077..5b8dc86 100644 --- a/perl/Wallet/ACL.pm +++ b/perl/Wallet/ACL.pm @@ -107,6 +107,12 @@ sub error { return $self->{error}; } +# Returns the ID of an ACL. +sub id { + my ($self) = @_; + return $self->{id}; +} + # Record a change to an ACL. Takes the type of change, the scheme and # identifier of the entry, and the trace information (user, host, and time). # This function does not commit and does not catch exceptions. It should |