Bob is a pointer. In order to access its members, try using the -> operator instead of .
In other words:
void setName(struct employee* object, char* f, char* l, char* m){
strncpy(object->bob.first,f,20);
strncpy(object->bob.last,l, 20);
object->bob.middle=m[0];
}