summaryrefslogblamecommitdiff
path: root/src/char/int_pet.h
blob: 44f3eb389e6c77e9eda09e9a1b25ef141d2ac7de (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                          

                      


             
                              
 







                                                 
 
                                      
 
                           
// Copyright (c) Athena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder

#ifndef CHAR_INT_PET_H
#define CHAR_INT_PET_H

struct s_pet;

void inter_pet_defaults(void);

struct inter_pet_interface {
    int (*tosql) (int pet_id, struct s_pet* p);
    int (*fromsql) (int pet_id, struct s_pet* p);
    int (*sql_init) (void);
    void (*sql_final) (void);
    int (*delete_) (int pet_id);
    int (*parse_frommap) (int fd);
};

struct inter_pet_interface *inter_pet;

#endif /* CHAR_INT_PET_H */