~ubuntu-branches/ubuntu/lucid/suphp/lucid

« back to all changes in this revision

Viewing changes to src/GroupInfo.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Emmanuel Lacour
  • Date: 2009-08-03 15:15:38 UTC
  • mfrom: (8.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20090803151538-pv7yhe6w1mqmceas
Tags: 0.7.1-1
* New upstream release (closes: #528379, #520182) 
* debian/NEWS: add information about AddHandler -> AddType change introduced
  in 0.6.2-2 (closes: #517805)
* debian/conf/suphp.conf, debian/patches/01_debian.dpatch: switch from
  application/x-httpd-php to application/x-httpd-suphp to allow
  simultaneous use of mod_suphp and mod_php (closes: #519005, #514725)

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
     */
38
38
    class GroupInfo {
39
39
    private:
40
 
        int gid;
 
40
        int gid;
41
41
 
42
42
    public:
43
 
        /**
44
 
         * Constructor without arguments.
45
 
         * Does not create a "valid" object, since it has no well defined GID
46
 
         */
47
 
        GroupInfo();
48
 
 
49
 
        /**
50
 
         * Contructor (creates group object from GID)
51
 
         */
52
 
        GroupInfo(int gid);
53
 
 
54
 
        /**
55
 
         * Returns groupname
56
 
         */
57
 
        std::string getGroupname() const throw (LookupException);
58
 
        
59
 
        /**
60
 
         * Returns GID
61
 
         */
62
 
        int getGid() const;
63
 
 
64
 
        /**
65
 
         * Compares to GroupInfo objects for equality
66
 
         */
67
 
        bool operator==(const GroupInfo& ginfo) const;
68
 
        
69
 
        /**
70
 
         * Overloaded operator !=
71
 
         */
72
 
        bool operator!=(const GroupInfo& ginfo) const; 
 
43
        /**
 
44
         * Constructor without arguments.
 
45
         * Does not create a "valid" object, since it has no well defined GID
 
46
         */
 
47
        GroupInfo();
 
48
 
 
49
        /**
 
50
         * Contructor (creates group object from GID)
 
51
         */
 
52
        GroupInfo(int gid);
 
53
 
 
54
        /**
 
55
         * Returns groupname
 
56
         */
 
57
        std::string getGroupname() const throw (LookupException);
 
58
        
 
59
        /**
 
60
         * Returns GID
 
61
         */
 
62
        int getGid() const;
 
63
 
 
64
        /**
 
65
         * Compares to GroupInfo objects for equality
 
66
         */
 
67
        bool operator==(const GroupInfo& ginfo) const;
 
68
        
 
69
        /**
 
70
         * Overloaded operator !=
 
71
         */
 
72
        bool operator!=(const GroupInfo& ginfo) const; 
73
73
    };
74
74
};
75
75