typedef struct user {
    char name[MAX_NAME];
    char profile_pic[MAX_NAME];  // This is a *filename*, not the file contents.
    struct post *first_post;
    struct user *friends[MAX_FRIENDS];
    struct user *next;
} User;

typedef struct post {
    char author[MAX_NAME];
    char *contents;
    time_t *date;
    struct post *next;
} Post;


int update_pic(User *user, const char *filename) {
    if (strlen(filename) > MAX_NAME) { // +1 bc of null term?
        return 2;
    }
    
    strcpy(&user.profile_pic, filename);
    
    
    return -1;
}
Change the filename for the profile pic of the given user.