about summary refs log tree commit diff stats
path: root/src/config
Commit message (Collapse)AuthorAgeFilesLines
...
* Added MAX_PASSWORD_SIZE set to 64James Booth2013-11-071-0/+2
| | | | fixes #245
* Merge remote-tracking branch 'tsenart/passwords-on-accounts-file'James Booth2013-11-072-0/+13
|\
| * Use passwords from the accounts fileTomás Senart2013-10-142-0/+13
|/ | | | | | This commit makes it so that if the password in an account in the accounts file is present, then use it. Otherwise ask for the password to the user.
* Fixed memory leak in accounts_get_accountJames Booth2013-09-231-1/+1
| | | | issue #226
* Fixed memory leak in accounts_get_accountJames Booth2013-09-231-1/+1
| | | | issue #226
* Allow users to set default muc service and nickname per accountJames Booth2013-09-122-1/+99
| | | | | | | | See #238 Conflicts: src/config/accounts.c
* removed strdup in autocomplete callsDmitry Podgorny2013-08-262-12/+12
|
* fixed memory leaks in various filesDmitry Podgorny2013-08-251-19/+42
|
* most FREE_SET_NULL replaced with freeDmitry Podgorny2013-08-031-7/+7
| | | | | | FREE_SET_NULL makes extra assignment of NULL for pointers in stack or dynamic memory that is going to be freed. FREE_SET_NULL is useful for pointers that can be used in future.
* Coloured contact and subscription in /roster and /group outputJames Booth2013-07-032-0/+16
|
* Added rooms history to ProfAccountJames Booth2013-05-232-0/+17
|
* Added groupchat logsJames Booth2013-05-052-0/+4
| | | | closes #168
* Added desktop notification option for subscription requestsJames Booth2013-04-272-0/+4
| | | | closes #166
* Added desktop notifications for chat room invitesJames Booth2013-04-222-0/+4
| | | | Use "/notify invite on|off"
* Mouse handling disabled by default.James Booth2013-03-191-1/+0
|
* Added resource_presence_t and contact_presence_tJames Booth2013-02-102-28/+25
|
* Renamed jabber_presence_t->presence_tJames Booth2013-02-102-6/+6
|
* Added assertsJames Booth2013-02-032-2/+2
|
* Send entity capabilities and status when joining roomJames Booth2013-02-031-0/+3
|
* Refactored string preferencesJames Booth2013-02-032-48/+48
|
* Refactored setting boolean preferencesJames Booth2013-02-032-202/+96
|
* Refactored getting boolean preferencesJames Booth2013-02-032-150/+162
|
* Removed files.cJames Booth2013-02-023-3/+0
|
* Moved function to get theme dir to theme.cJames Booth2013-02-021-5/+19
|
* Moved function to get accouts files to accounts.cJames Booth2013-02-021-1/+16
|
* Moved function to get log dir to log.cJames Booth2013-02-021-3/+17
|
* Added config dir to sourceJames Booth2013-02-026-0/+1588
x04 0x03 0x02 0x01) */ #define ELFDATA2MSB 2 /* most significant byte first (0x01020304 is 0x01 0x02 0x03 0x04) */ /* EI_VERSION */ #define EV_CURRENT 1 #define ELFVERSION EV_CURRENT /* * PROGRAM HEADER */ typedef struct { uint32 p_type; /* type of segment */ uint32 p_offset; uint32 p_vaddr; uint32 p_paddr; uint32 p_filesz; uint32 p_memsz; uint32 p_flags; uint32 p_align; } Elf32_Phdr; /* p_type */ #define PT_NULL 0 #define PT_LOAD 1 #define PT_DYNAMIC 2 #define PT_INTERP 3 #define PT_NOTE 4 #define PT_SHLIB 5 #define PT_PHDR 6 #define PT_LOPROC 0x70000000 #define PT_HIPROC 0x7fffffff /* p_flags */ #define PF_X 0x1 #define PF_W 0x2 #define PF_R 0x4 enum eElfSectionTypes { SHT_NULL, //0 SHT_PROGBITS, //1 SHT_SYMTAB, //2 SHT_STRTAB, //3 SHT_RELA, //4 SHT_HASH, //5 SHT_DYNAMIC, //6 SHT_NOTE, //7 SHT_NOBITS, //8 SHT_REL, //9 SHT_SHLIB, //A SHT_DYNSYM, //B SHT_LAST, //C SHT_LOPROC = 0x70000000, SHT_HIPROC = 0x7fffffff, SHT_LOUSER = 0x80000000, SHT_HIUSER = 0xffffffff }; typedef struct { uint32 name; uint32 type; uint32 flags; uint32 address; uint32 offset; uint32 size; uint32 link; uint32 info; uint32 addralign; uint32 entsize; } Elf32_Scdr; enum { R_386_NONE=0, // none R_386_32, // S+A R_386_PC32, // S+A-P R_386_GOT32, // G+A-P R_386_PLT32, // L+A-P R_386_COPY, // none R_386_GLOB_DAT, // S R_386_JMP_SLOT, // S R_386_RELATIVE, // B+A R_386_GOTOFF, // S+A-GOT R_386_GOTPC, // GOT+A-P R_386_LAST // none }; typedef struct { uint16 d_tag; uint32 d_val; //Also d_ptr } Elf32_dyn; enum { DT_NULL, //!< Marks End of list DT_NEEDED, //!< Offset in strtab to needed library DT_PLTRELSZ, //!< Size in bytes of PLT DT_PLTGOT, //!< Address of PLT/GOT DT_HASH, //!< Address of symbol hash table DT_STRTAB, //!< String Table address DT_SYMTAB, //!< Symbol Table address DT_RELA, //!< Relocation table address DT_RELASZ, //!< Size of relocation table DT_RELAENT, //!< Size of entry in relocation table DT_STRSZ, //!< Size of string table DT_SYMENT, //!< Size of symbol table entry DT_INIT, //!< Address of initialisation function DT_FINI, //!< Address of termination function DT_SONAME, //!< String table offset of so name DT_RPATH, //!< String table offset of library path DT_SYMBOLIC,//!< Reverse order of symbol searching for library, search libs first then executable DT_REL, //!< Relocation Entries (Elf32_Rel instead of Elf32_Rela) DT_RELSZ, //!< Size of above table (bytes) DT_RELENT, //!< Size of entry in above table DT_PLTREL, //!< Relocation entry of PLT DT_DEBUG, //!< Debugging Entry - Unknown contents DT_TEXTREL, //!< Indicates that modifcations to a non-writeable segment may occur DT_JMPREL, //!< Address of PLT only relocation entries DT_LOPROC = 0x70000000, //!< Low Definable DT_HIPROC = 0x7FFFFFFF //!< High Definable }; BOOL isElf(char *elfData); uint32 loadElf(char *elfData); #endif // ELF_H