Nntp-specific Account data. More...
Go to the source code of this file.
Functions | |
void | nntp_adata_free (void **ptr) |
Free the private Account data - Implements Account::adata_free() More... | |
struct NntpAccountData * | nntp_adata_new (struct Connection *conn) |
Allocate and initialise a new NntpAccountData structure. More... | |
Nntp-specific Account data.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file adata.c.
void nntp_adata_free | ( | void ** | ptr | ) |
Free the private Account data - Implements Account::adata_free()
The NntpAccountData struct stores global NNTP data, such as the connection to the database. This function will close the database, free the resources and the struct itself.
Definition at line 43 of file adata.c.
struct NntpAccountData * nntp_adata_new | ( | struct Connection * | conn | ) |
Allocate and initialise a new NntpAccountData structure.
conn | Network connection |
ptr | New NntpAccountData |
Definition at line 62 of file adata.c.