comparison doc/account-signals.dox @ 20178:8e3ef71c4362

Authorization signals. Modified patch from cockroach. Closes #1061.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 19 Sep 2007 06:19:19 +0000
parents 8cf53d7a0887
children b1fa7765ca4b
comparison
equal deleted inserted replaced
20174:eb758ca32ea9 20178:8e3ef71c4362
98 Emitted when the alias of an account changes (after the change). 98 Emitted when the alias of an account changes (after the change).
99 @param account The account for which the alias was changed. 99 @param account The account for which the alias was changed.
100 @param old The alias before change. 100 @param old The alias before change.
101 @endsignaldef 101 @endsignaldef
102 102
103 @signaldef account-authorization-requested
104 @signalproto
105 void (*account_authorization_requested)(PurpleAccount *account, const char *user);
106 @endsignalproto
107 @signaldesc
108 Emitted when a user requests authorization.
109 @param account The account.
110 @param user The name of the user requesting authorization.
111 @return Less than zero to deny the request without prompting, greater
112 than zero if the request should be granted. If zero is returned,
113 then the user will be prompted with the request.
114 @endsignaldef
115
116 @signaldef account-authorization-denied
117 @signalproto
118 void (*account_authorization_denied)(PurpleAccount *account, const char *user);
119 @endsignalproto
120 @signaldesc
121 Emitted when the authorization request for a buddy is denied.
122 @param account The account.
123 @param user The name of the user requesting authorization.
124 @endsignaldef
125
126 @signaldef account-authorization-granted
127 @signalproto
128 void (*account_authorization_granted)(PurpleAccount *account, const char *user);
129 @endsignalproto
130 @signaldesc
131 Emitted when the authorization request for a buddy is granted.
132 @param account The account.
133 @param user The name of the user requesting authorization.
134 @endsignaldef
135
103 */ 136 */
104 // vim: syntax=c tw=75 et 137 // vim: syntax=c tw=75 et