kernel/external/bluetooth/bluez/network/common.cstatic struct {
const char *name; /* Friendly name */
const char *uuid128; /* UUID 128 */
uint16_t id; /* Service class identifier */
} __svc[] = {
{ "panu", PANU_UUID, BNEP_SVC_PANU },
{ "gn", GN_UUID, BNEP_SVC_GN },
{ "nap", NAP_UUID, BNEP_SVC_NAP },
{ NULL }
};
请问源码里面有些struct没有名字,这样的struct是干什么的呢?
thanks
我那时还以为是struct里面的成员。
谢谢二位!