JAM_NewSubPacket - Create a new subfield packet
#include <jamlib/jam.h>
s_JamSubPacket* JAM_NewSubPacket(void);
Creates a new, empty, subfield packet.
The subpacket handle, if successful, or NULL if a memory allocation failed.
s_JamSubPacket* SubPacket_PS;
SubPacket_PS = JAM_NewSubPacket();
if (!SubPacket_PS) {
printf("JAM_NewSubPacket returned NULL.\n");
return;
}
This manual page was created by Sir Raorn <raorn@altlinux.ru>, based on
original JAMlib documentation by Bjorn Stenberg <bjorn@haxx.nu> and
Johan Billing <billing@df.lth.se>.
jamlib(3), JAM_DelSubPacket(3), JAM_GetSubfield(3),
JAM_GetSubfield_R(3), JAM_PutSubfield(3)