libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

addkeyword.c (358B)


      1 static void addKeyword
      2   (struct EXTRACTOR_Keywords **list,
      3    char *keyword, EXTRACTOR_KeywordType type)
      4 {
      5   EXTRACTOR_KeywordList *next;
      6   next = malloc (sizeof (EXTRACTOR_KeywordList));
      7   next->next = *list;
      8   next->keyword = keyword;
      9   next->keywordType = type;
     10   *list = next;
     11 }
     12 
     13 Caption:The plugins return the meta - data using a simple linked - list.